Ubuntu Cron Logs – How to Check Cron Logs in Ubuntu

cronUbuntu

I went to /var/log/cron but this file is empty.

How to check if crontab is enabled or is running properly or not in ubuntu

thanks

Best Answer

If you want to know if it's running you can do something like sudo systemctl status cron or ps aux | grep cron.

If you want to know if your cron jobs are running, check /var/log/syslog with the process name cron. For example:

Apr 26 21:17:01 example CRON[18055]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Related Topic