This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: /cygdrive/f/ missing when my script is executed by cron


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]