Quantcast
Viewing all articles
Browse latest Browse all 43

I put a cronjob in /etc/cron.{hourly,daily,weekly,monthly} and it does not run and how can I troubleshoot it?

Image may be NSFW.
Clik here to view.

Recently I created a simple shell script called backup.sh in /root/scripts directory to just backup MySQL database and dumped it to /nfs/mysql/ directory. I put a file (more like used the ln command to create a soft link ) in /etc/cron.hourly/ and it doesn't run. There was no error in systemd log or cron log. Why is my cron job was not working, and here is how I troubleshoot it.

Viewing all articles
Browse latest Browse all 43

Trending Articles