The execution of the rsync task is shown in /var/log/cron.
Any messages are put into /var/log/messages.
By default, rsync will produce no output when no files need to be transferred.
Therefore, if all is well, no messages go into /var/log/messages.
So if you want to see output in messages, you will need to add an optional parameter of "-v".
Sample command line taken from the cron log with the added -v option: /usr/local/bin/rsync -r -t -z -v --delete-delay --delay-updates -e "ssh -p 22 -o BatchMode=yes -o StrictHostKeyChecking=yes" xxxxx@someone.org:\""/mnt/remote_location/"\" "/mnt/local_location"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.