Displaying 2 results from an estimated 2 matches for "dprweb_www".
2010 Sep 21
2
Rsync command failing as a Cron Tab
...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?...
2010 Sep 16
1
Rsync failed as a cron task.
...I have a rsync command that works just fine whenever I have executed it directly from the command line.
/usr/local/bin/rsync -v -v -v -P --stats -z -r -t -p -l --delete --password-file=/export/home/webuser/.appprod --exclude "*.htaccess" /export/home/xternal/htdocs/ webuser at appprod::dprweb_www > /export/home/webuser/logs/rsync
But when we tried to execute this as a daily cron task, it did not synchronize the servers. This is all that exists in the log file created by rsync.
[client] add_rule(- *.htaccess)
[sender] _exit_cleanup(code=1, file=main.c, line=1241): about to call exit(1)...