Is cron running?

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

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

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

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like