rsync & cron

Jiri Cvrk cvrk at mbox.dkm.cz
Fri May 10 04:22:02 EST 2002


hello,

when I use rsync from commandline (RH 7.2, ssh2), it works fine.

rsync -e ssh -a -v  zaloha at 192.168.2.100:/home/samba/m/aaa.txt  /home/m/aaa.txt

but when I try to use it in crontab such as
33 11 * * * rsync -e ssh -a -v  zaloha at 192.168.2.100:/home/samba/m/aaa.txt  /home/m/aaa.txt
</dev/null

or
33 11 * * * rsync -e ssh -a -v  zaloha at 192.168.2.100:/home/samba/m/aaa.txt /home/m/aaa.txt

I have also tried this rsync command in script.. and always I get the following.


 Aborted by user!
 unexpected EOF in read_timeout.


What should be wrong?

Thank you for any help.
--
Jiri Cvrk (CZ)
http://digital.zde.cz

-------------- next part --------------
HTML attachment scrubbed and removed


More information about the rsync mailing list