Skip to content

[troubleshooting] cron

Ingi Erli edited this page Apr 15, 2020 · 6 revisions

cron daemon


  1. Is the cron-deamon service running ?
  2. run the command sudo service cron status
  3. Look for line : Active: active (running) since Mon 2020-03-16 17:06:51 CET; 4 weeks 0 days ago
● cron.service - Regular background program processing daemon
   Loaded: loaded (/lib/systemd/system/cron.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2020-03-16 17:06:51 CET; 4 weeks 0 days ago
     Docs: man:cron(8)
 Main PID: 811 (cron)
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/cron.service
           └─811 /usr/sbin/cron -f

Apr 14 13:17:01 nrmbirdringing CRON[10236]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Apr 14 13:17:01 nrmbirdringing CRON[10235]: pam_unix(cron:session): session closed for user root
Apr 14 14:17:01 nrmbirdringing CRON[10543]: pam_unix(cron:session): session opened for user root by (uid=0)
Apr 14 14:17:01 nrmbirdringing CRON[10543]: pam_unix(cron:session): session closed for user root
Apr 14 15:17:01 nrmbirdringing CRON[10848]: pam_unix(cron:session): session opened for user root by (uid=0)
Apr 14 15:17:01 nrmbirdringing CRON[10849]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Apr 14 15:17:01 nrmbirdringing CRON[10848]: pam_unix(cron:session): session closed for user root
Apr 14 16:17:02 nrmbirdringing CRON[11111]: pam_unix(cron:session): session opened for user root by (uid=0)
Apr 14 16:17:02 nrmbirdringing CRON[11112]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Apr 14 16:17:02 nrmbirdringing CRON[11111]: pam_unix(cron:session): session closed for user root