| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4F743292.3020106@harobed.org> |
| Date: | Thu, 29 Mar 2012 11:59:46 +0200 |
| From: | =?UTF-8?B?U3TDqXBoYW5lIEtsZWlu?= <stephane AT harobed DOT org> |
| User-Agent: | Mozilla/5.0 (X11; Linux i686; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: /cygdrive/f/ missing when my script is executed by cron |
| References: | <jl15l1$8k6$1 AT dough DOT gmane DOT org> <20120329091649 DOT GC30721 AT calimero DOT vinschen DOT de> |
| In-Reply-To: | <20120329091649.GC30721@calimero.vinschen.de> |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
Le 29/03/2012 11:16, Corinna Vinschen a écrit : >> But, I've have an issue : when my bash script is executed by cron, >> it hasn't access to /cygdrive/f/, this device isn't mounted ! > > Remote shares are mounted on a per user-session basis. Cron as a > service is not running in your desktop user-session. If you want > to access remote shares in your cron session, you have to mount them > explicitely in your cron job. Thanks. Do you have command example or document reference about this command (mount remote shares from my bash script) ? Thanks for your help. Regards, Stephane -- Stéphane Klein <stephane AT harobed DOT org> blog: http://stephane-klein.info Twitter: http://twitter.com/klein_stephane pro: http://www.is-webdesign.com -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |