Page 1 of 1

why set_kernel_timezone repeated 7 times an hour?

Posted: Sun Jun 09, 2013 5:12 am
by denvor
I found this in crontab
0,1,11,21,31,41,51 * * * * /usr/bin/set_kernel_timezone >/dev/null 2>&1
Can someone tell me what does this command do?
just set timezone? why so many times? 7 times per hour!

I also using a openwrt router , and I can't find this in open wrt.

Re: why set_kernel_timezone repeated 7 times an hour?

Posted: Sun Jun 09, 2013 5:44 am
by BashfulBladder
If you download the source, then its easy enough to do:

grep set_kernel_timezone -r /path/to/gargoyle_folder.

It seems it calls the set_kernel_timezone function here:

http://www.gargoyle-router.com/gargoyle ... pt_bwctl.c

Re: why set_kernel_timezone repeated 7 times an hour?

Posted: Mon Jun 10, 2013 2:23 am
by denvor
thanks , I already read the source of this function.
But after reading the source , I still don't understand why this function should be call 7 times every hour?
It is just get time and set time zone function.
Called once an hour is enough.