September 26, 20205 yr Hi all, I've got a cronjob to backup all my dockers and VM's, but it's stopped running recently. It's defined in /boot/config/plugin/dynamix/backup-jobs.cron, and I've not made any changes to this file. Syslog doesn't show anything relevant. I can run it manually without issues, but it just doesn't run as scheduled. Running Unraid 6.9.0-beta25. Anyone got any ideas?
September 26, 20205 yr Author 0 1 * * 0 /mnt/disk6/backup/weekly-backup.sh 0 1 * * 1-6 /mnt/disk6/backup/daily-backup.sh As I wrote, this have been running just fine before.
September 27, 20205 yr Looks ok. If they're within cron, you can verify via crontab -l and cat /etc/cron.d/root To debug why, first thing I'd do is add to the script logger "Daily Script Running" so you'd know if it at least tries to execute it on the schedule. Beyond that, it's possible that if you're say using rclone or something to do the backup that you might have to specify the entire path to the executable, rather than simply relying on the environmental search path
September 28, 20205 yr Author Very strange, but without changing anything it's started running again. Well, *something* needs to have changed but I can't figure out what.
Archived
This topic is now archived and is closed to further replies.