Page 1 of 1

Scheduled reboot more often?

Posted: Tue May 26, 2020 2:32 am
by pkkrusty
Hi y’all,

I’d like my router to reboot twice a day vs once (the DHCP assignment seems to get messed up randomly every few days). Is that possible via a method other than the GUI (which is all I currently know how to use)?

Thanks,
Andrew

Re: Scheduled reboot more often?

Posted: Tue May 26, 2020 6:06 am
by Lantis
Use the GUI to set the reboot for your first preferred time.
Then use the command line to edit
/etc/crontabs/root

Find the line for the reboot command, then modify the time command to suit.
The crontabs time format is well documented, and a good helper site is here:
https://crontab.guru/