How to check if my cron jobs are executed?
Solution 1:
If you want to check if they are executed, use:
grep -i cron /var/log/syslog
Solution 2:
Just do what cron does.
run-parts -v /etc/cron.daily
run-parts -v /etc/cron.weekly
- etc
-v
prints the script names before they are run.
Solution 3:
If you would like to just check that cron
is running, you can do the following:
service cron status