crontab + rsync problem

Luca Ferrari fluca1978 at infinito.it
Wed Oct 10 16:16:04 UTC 2007


Hi all,
I've got a shell script that executes rsync to update two directories. If I 
launch the script from the command line it works, if I launch it from crontab 
I can see the script running, without errors, but it does no sync the 
directories. In particular, rsync says that the copy started and ended in 1 
second, without any error. My thought is that there could be a problem with 
ssh or the network connection, something that causes rsync to be stopped 
immediately, but I don't have any idea of what it can be.

Any help/idea?

Thanks,
Luca




More information about the ubuntu-users mailing list