[Csync2] Csync2 Cronjob appears to not work

Aaron Randall aaron.randall at visionoss.com
Tue Aug 29 13:13:19 CEST 2006


Hi All,

It appears that my cronjob for running Csync2 is not being executed 
correctly.  Synchronisation takes place fine if I run "csync2 -xv" 
manually in the console, and I see output like below:

Updating /images/test1 on server1 ...
File is already up to date on peer.
Finished with 0 errors.

but when I create a cronjob - "* * * * *     /usr/sbin/csync2 -xv" - and 
leave that to run sometimes synchronisation happens and sometimes it 
doesn't.  If I leave it for five minutes and then run it manually, it 
springs in to life and starts syncing the files correctly, but I want it 
to do this when it is called via the cronjob, not manually.

Any ideas/suggestions?

Many thanks,

Aaron

 :)



More information about the Csync2 mailing list