www.delorie.com/archives/browse.cgi | search |
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 <corinna-cygwin AT cygwin DOT com> |
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: | <jl15l1$8k6$1 AT dough DOT gmane DOT org> <20120329091649 DOT GC30721 AT calimero DOT vinschen DOT de> <4F743292 DOT 3020106 AT harobed DOT org> |
MIME-Version: | 1.0 |
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 |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |