Scheduled reboot more often?

If your problem doesn't fall into one of the other categories, report it here.

Moderator: Moderators

Post Reply
pkkrusty
Posts: 45
Joined: Mon Jan 13, 2020 4:41 pm

Scheduled reboot more often?

Post 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

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Scheduled reboot more often?

Post 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/
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Post Reply