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.
why set_kernel_timezone repeated 7 times an hour?
Moderator: Moderators
-
- Moderator
- Posts: 250
- Joined: Thu Jan 17, 2013 11:43 pm
Re: why set_kernel_timezone repeated 7 times an hour?
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
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
TP-Link WDR4300 running 1.5.10+ i18n-English (Built 20131010 - OpenWrt r38286)
https://github.com/BashfulBladder/gargoyle-plugins/wiki
Re: why set_kernel_timezone repeated 7 times an hour?
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.
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.