2012年10月19日 星期五

dd-wrt Scheduled Reboot


  • Solution1: Administration --> Keep Alive

  • Solution2: Administration --> Commands


echo "startservice run_rc_shutdown; /sbin/reboot" > /tmp/restart_router
chmod a+x /tmp/restart_router
echo "44 4 * * * root /tmp/restart_router" > /tmp/cron.d/restartrouter


In this setting, it will then restart at 4:44 A.M. Daily

Save&reboot

Ref.dd-wrt wiki http://www.dd-wrt.com/wiki/index.php/Scheduled_reboot


Note:

# minute (0-59),
# |      hour (0-23),
# |      |       day of the month (1-31),
# |      |       |       month of the year (1-12),
# |      |       |       |       day of the week (0-6 with 0=Sunday).
# |      |       |       |       |       commands




沒有留言:

張貼留言