Rsync command failing as a Cron Tab

Ian Skinner iskinner at cdpr.ca.gov
Tue Sep 21 16:38:59 MDT 2010


We have this Rsync command that does what is desired when ran either directly OR with a shell script.

/usr/local/bin/rsync -vvv -P --stats -zrtpl --delete --password-file=/export/home/webuser/.appprod -
-log-file=/exp*/h*/web*/logs/rsync-log --exclude "*.htacc*" /exp*/h*/xter*/htdocs/ webuser at appprod::
dprweb_www > /exp*/h*/web*/logs/rsync-output

But no matter how we put it into a cron task, we get nothing.  No errors, no logs, no output, just nothing.

14 15 * * * cd /usr/local/doc/rsync/; ./rsyncjob.sh #WebMirror 

Can anybody shed some light on where we can find out why this doesn't do anything?

TIA
Ian




More information about the rsync mailing list