5

Is there an easy way to tell if cron is actually running? I'm not talking about whether my crontab entries are valid, but is cron actually attempting to execute those entries?

I'm on Ubuntu 14

2 Answers 2

9

On Ubuntu 14.04 (which uses upstart) you can check the service status using service cron status:

$ service cron status
cron start/running, process 1414

The systemd equivalent (applicable for newer systems) is systemctl status cron.service

You could also examine the CRON entries in the system log, e.g. grep CRON /var/log/syslog

1
  • This needs to run with elevated permissions. It might be necessary to run sudo service cron status.
    – CJ Dennis
    Jan 22, 2018 at 23:56
1

You can check the status of cron service or any service for that matter using

service service.name status

In case of cron

service cron status

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .