Linux reboot system with cron

Edit crontab: sudo crontab -e The first time you might have to choose your preferred editor (like nano) Insert a line like 0 4 * * * /sbin/shutdown -r +5 at the bottom. Explanation: m h dom mon dow command minute hour dayOfMonth Month dayOfWeek commandToRun so the line 0 4 * * * /sbin/shutdown […]

Read More