Use cron (should already be installed):
Edit crontab:
The first time you might have to choose your preferred editor (like nano) Insert a line like
at the bottom. Explanation:
so the line
would reboot your system every day at 6:05am. (6:00am + 5 minutes) Ctrl+X, Y, Enter should get you out of crontab (if using nano) Note: you might have to run crontab -e as root, because shutdown needs root. |
Thursday, March 31, 2016
How to create CRONTAB to restart ubuntu
Subscribe to:
Posts (Atom)