Reply to post: auto-reboot

FBI to World+Dog: Please, try turning it off and turning it back on

G2

auto-reboot

my router auto-reboots itself every day at 4 AM... =)

0 4 * * * sleep 120 && touch /etc/banner && /sbin/reboot

(the sleep & touch are needed to prevent reboot loops, this way it stores the 04:02 AM time as most recent known timestamp and won't reboot immediately)

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon