rsync hangs in cron (not SSH-problem)

Jeffrey Layton jtlayton at poochiereds.net
Fri May 21 18:41:34 GMT 2004


On Thu, 2004-05-20 at 20:55, Pascal Nobus wrote:

> When used this command in cron
> 
> 00 01 * * * rsync -av --delete /mnt/web1 /mass/kuurne/day
> 00 02 * * * rsync -av --delete /mnt/web2 /mass/kuurne/day
> etc..
> 

Not sure if this is your problem or not, but I had some
problems running rsync out of fcron ( a cron replacement), due
to problems with the current working directory.

You might try something like:

00 01 * * * cd /;rsync -av --delete /mnt/web1 /mass/kuurne/day

That fixed my problem when running out of cron.

Good Luck!
-- Jeff




More information about the rsync mailing list