Good day all:
Running Xubuntu 18.04 and have set up Grsync and Cron to do weekly backups for two NAS drives (usb) to two other drives attached to the same machine (usb). The Grsync commands (two different profiles) run when run from Grsync. I get an email saying the commands have run via Cron (as well as a daily email telling me Clam has updated). However, when looking at the dates for the Grsync logs, I know they have not run. I then run them manually and the Grsync logs update properly.
Cron Commands:
Code:
0 22 * * 2 grsync -e "Disk01"
0 22 * * 3 grsync -e "Disk02"
Grsync Commands
Code:
rsync -r -t -p -o -g -v --progress --delete --ignore-existing -s /mnt/Disk01 /mnt/Disk01-BU
rsync -r -t -p -o -g -v --progress --delete --ignore-existing -s /mnt/Disk02 /mnt/Disk02-BU
Cron Log Output:
Code:
Jan 21 21:17:01 username CRON[26680]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Jan 21 22:00:01 username CRON[26830]: (user) CMD (grsync -e "Disk01")
Jan 21 22:02:04 username anacron[26841]: Anacron 2.3 started on 2020-01-21
Jan 21 22:02:04 username anacron[26841]: Normal exit (0 jobs run)
I have also tried using the grsync -e "Disk01" on the command line, and it worked. So I am at a loss as to why this is not happening.
Any thoughts?
RacconStrait
Bookmarks