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

2012-03-29 Thread Corinna Vinschen
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

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

2012-03-29 Thread Stéphane Klein
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.

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

2012-03-29 Thread Stéphane Klein
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.

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

2012-03-29 Thread Corinna Vinschen
On Mar 29 10:14, Stéphane Klein wrote: > Hi, > > I try to configure rsync on MS Windows to execute a folder > synchronization every day. > > I use this tools : > > * I've installed cygwin > * I've use cygwin setup.exe to install rsync, openssh, cron > > Next, in cygwin terminal, I did : > > *

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

2012-03-29 Thread Stéphane Klein
Hi, I try to configure rsync on MS Windows to execute a folder synchronization every day. I use this tools : * I've installed cygwin * I've use cygwin setup.exe to install rsync, openssh, cron Next, in cygwin terminal, I did : * I've created a ssh key and I've set it up on remote server * n