why set_kernel_timezone repeated 7 times an hour?

If your problem doesn't fall into one of the other categories, report it here.

Moderator: Moderators

Post Reply
denvor
Posts: 2
Joined: Sun Jun 09, 2013 5:07 am

why set_kernel_timezone repeated 7 times an hour?

Post 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.

BashfulBladder
Moderator
Posts: 250
Joined: Thu Jan 17, 2013 11:43 pm

Re: why set_kernel_timezone repeated 7 times an hour?

Post 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
TP-Link WDR3600 v1.1 running 1.5.10+ L10n-English (Built 20130922 - OpenWrt r38093)
TP-Link WDR4300 running 1.5.10+ i18n-English (Built 20131010 - OpenWrt r38286)

https://github.com/BashfulBladder/gargoyle-plugins/wiki

denvor
Posts: 2
Joined: Sun Jun 09, 2013 5:07 am

Re: why set_kernel_timezone repeated 7 times an hour?

Post 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.

Post Reply