Joined: 24 Mar 2015
|Posted: Fri Nov 13, 2015 19:14 Post subject: "Unix time" and cron jobs
DD-WRT v24-sp2 (02/08/15) kongac - build 26190M
I have suspected for a long time that the cron service starts before the ntp time set is finished. I have dealt with it but it is a real pain especially for anything (including access restrictions) that start at midnight.
After rebooting the router, as I suspected, the cron service is started at:
|Jan 1 00:00:04 Valinor user.info : cron : cron daemon successfully started |
It looks like cron is stopped and restarted after ntp is finished, but by that time the damage is done. The cron job has already started, and in the case of an access restriction at midnight takes effect and has to be manually cleared. As a workaround, I made it 00:01.
I would consider updating to a more recent build if someone can confirm this has been fixed?