I am trying to create a scheduled reboot using the luci interface. What would i enter at services/scheduled tasks (on the gui) to reboot my router everyday at 12pm? I did a read up on cronjobs and that was totally confusing.
Topic: Luci and Scheduled Tasks help!!!
The content of this topic has been archived on 3 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.
OpenWrt: Crond - Scheduled Tasks
(Last edited by Orca on 26 Oct 2011, 13:44)
I am trying to create a scheduled reboot using the luci interface. What would i enter at services/scheduled tasks (on the gui) to reboot my router everyday at 12pm? I did a read up on cronjobs and that was totally confusing.
Try the following - under Services-Scheduled Tasks
0 12 * * * reboot
The syntax to the above is as provided by orca.
Thanx orca and ultrawires,
Its simple when someone shows u how lol.
Can I do a cron job to restart my router if my 3g wan goes down? Sometimes i ssh into my router from work and the 3g disconnects and i must manually restart my router which isnt possible until I get home from work. Do you have any suggestions for this problem?
(Last edited by stevie7303215 on 8 Sep 2011, 11:19)
Thanks again orca, I didnt realise how cool hotplug.d is.
The discussion might have continued from here.