cronjob stopped running


Ancan

Recommended Posts

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?

Link to comment

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 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.