"Unix time" and cron jobs

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
john8791
DD-WRT Novice


Joined: 24 Mar 2015
Posts: 21

PostPosted: Fri Nov 13, 2015 19:14    Post subject: "Unix time" and cron jobs Reply with quote
Netgear AC1450
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:
Code:
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?
Sponsor
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum