OpenWrt Forum Archive

Topic: Can I setup a timer to restart the system?

The content of this topic has been archived on 3 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Say at 12 hours? smile My Asus wl500gP seems to lose some of its clients and when I restart it manually they connect back. So... can I setup a timer?

valypetre wrote:

Say at 12 hours? smile My Asus wl500gP seems to lose some of its clients and when I restart it manually they connect back. So... can I setup a timer?

How about cron?

go on... I would like it to reboot at every 12 hours. how can I make it happen?

(Last edited by valypetre on 20 Feb 2008, 19:47)

edit cron with

crontab -e

include the following line


* 0,12 * * * reboot

This will reboot your router at midnight and at noon everyday

(Last edited by m4rc0 on 22 Feb 2008, 10:22)

or :

* */12 * * * reboot

thanks

The discussion might have continued from here.