X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Thu, 29 Mar 2012 13:36:38 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: /cygdrive/f/ missing when my script is executed by cron Message-ID: <20120329113638.GF30721@calimero.vinschen.de> Mail-Followup-To: cygwin AT cygwin DOT com References: <20120329091649 DOT GC30721 AT calimero DOT vinschen DOT de> <4F743292 DOT 3020106 AT harobed DOT org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4F743292.3020106@harobed.org> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Mar 29 11:59, Stéphane Klein wrote: > 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) ? $ net use '/?' Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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