Re: rsync from a cron script [SOLVED]

1999-08-19 Thread Michael Stenner
On Wed, Aug 18, 1999 at 08:39:42AM -0400, Michael Stenner wrote: I am running rsync from a script that is executed by cron. It is intended to mirror work stuff at home. It uses my personal accounts on both ends (different accounts). Sadly, rsync returns the following error (and doesn't

Re: rsync from a cron script [SOLVED]

1999-08-19 Thread Karl F. Larsen
Mike whenever you see Permission denied it means the calling function lacks the proper ownership to use this funtion. Do some detective work and find out what user(s) can call rsync. I bet it's just root who can do it. Make sure cron is acting for root. Or I am all wet. That happens a

rsync from a cron script

1999-08-18 Thread Michael Stenner
I am running rsync from a script that is executed by cron. It is intended to mirror work stuff at home. It uses my personal accounts on both ends (different accounts). Sadly, rsync returns the following error (and doesn't work :) Permission denied unexpected EOF in read_timeout Here's what

Re: rsync from a cron script

1999-08-18 Thread Heikki Vatiainen
Michael Stenner [EMAIL PROTECTED] wrote: I have included the command ssh remotehost date in order to test that ssh is working from the script (it is) -- yes, I have RSYNC_RSH set to /usr/bin/rsync ^ Shouldn't this be ssh, not rsync? Heikki,

Re: rsync from a cron script

1999-08-18 Thread Chanop Silpa-Anan
What I'm doing with cron script is #!/bin/sh rsync -avCuz -e ssh whatever_directory whatever_host:whatever_directory_youwant that works all the time. chanop On Wed, Aug 18, 1999 at 08:39:42AM -0400, Michael Stenner wrote: I am running rsync from a script that is executed by cron. It is

Re: rsync from a cron script

1999-08-18 Thread Michael Stenner
On Wed, Aug 18, 1999 at 04:24:06PM +0300, Heikki Vatiainen wrote: Michael Stenner [EMAIL PROTECTED] wrote: I have included the command ssh remotehost date in order to test that ssh is working from the script (it is) -- yes, I have RSYNC_RSH set to /usr/bin/rsync

Re: rsync from a cron script

1999-08-18 Thread Heikki Vatiainen
Michael Stenner [EMAIL PROTECTED] On Wed, Aug 18, 1999 at 04:24:06PM +0300, Heikki Vatiainen wrote: Michael Stenner [EMAIL PROTECTED] wrote: RSYNC_RSH set to /usr/bin/rsync ^ Shouldn't this be ssh, not rsync? Doh... Yes, it should, and

Re: rsync from a cron script

1999-08-18 Thread Adam Shand
I am running rsync from a script that is executed by cron. It is intended to mirror work stuff at home. It uses my personal accounts on both ends (different accounts). Sadly, rsync returns the following error (and doesn't work :) Permission denied unexpected EOF in read_timeout i've