Re-booter will restart your debian-linux-based computer at a given time every day, as long as the program and it's main window is open. You can make sure Re-booter is running by adding it to your login session startup items.
You simply select a time for it to run the reboot command. (you could also run any other 1 line command at that time by changing it in this window)
When the system time is the same as the selected hours:mins, the command will run after a delay of 40 seconds. This is to prevent multiple reboots as most Debian OS computers tend to fully restart and log back in within 30 seconds. Without the delay, the command could be triggered multiple times by mistake.
Re-booter uses the 'sudo reboot' command as default. To be able to run this command in Debian as a normal user, you need to edit the sudoers file.
Open a terminal and become root by entering:
Then enter your root password.
Make a backup copy of your sudoers file with:
To allow yourself to edit the file run:
Then, edit the file with:
(Replace 'Pluma' with whatever your text editor is)
Add these lines (replacing tom with your user name):
Now file menu > save and close the text editor.
Set the permissions back to how they were:
You can then close the terminal window. Reboot commands will now work without asking you for a password or failing due to authentication errors.
If you make a terrible error editing the sudoers file, you can restore the backup you made earlier by running:
Download Re-booter for 64bit Debian Linux
Re-booter is free.
version 0.1 - October 2021. First release
Tested with Debian Buster 10, and Devuan 4. This version is for Debian Linux. It might work on Ubuntu and derivatives, but I'd recommend you use timedrestart instead for those distros.
If you have any suggestions, please get in touch via email. Many thanks.
Tom.
tom@tsites.co.uk