May 28 2013

Cron Scheduling Doesn’t Work with Synology

Just a quick tip if you have trouble getting your Synology to run scheduled tasks specified in crontab. After a reboot I fought a while with my DS211j as no scheduled task worked – no matter how I wrote the commands in crontab. However I found the solution from Synology forum. Restart crond and it starts working:

  1. SSH login as root
  2. killall crond
  3. /usr/syno/etc/rc.d/S04crond.sh start
  4. Verify that your scheduled task is running

That’s it, enjoy!

*** UPDATE Aug 06, 2014: Since DSM update 5.x this method won’t work because /usr/syno/etc/rc.d/S04crond.sh does not exist anymore. Use /usr/syno/sbin/synoservicectl –restart crond instead. ***

Leave a Reply