Wednesday, August 16, 2017

Sometimes cron runs twice

I suspected cron was running twice. I confirmed by checking the system logs

grep CRON /var/log/syslog

Then I killed cron and restarted it

sudo /etc/init.d/cron stop
sudo /etc/init.d/cron start