Schedule a reboot during off-peak hours to apply kernel updates or maintenance changes.
Reboot at a Specific Time
shutdown -r 02:00This schedules a reboot at 2:00 AM.
Reboot After a Delay
# Reboot in 10 minutes
shutdown -r +10
# Reboot in 1 hour
shutdown -r +60Cancel a Scheduled Reboot
shutdown -cUsing Cron
For recurring reboots (e.g., weekly maintenance):
crontab -e
# Add: reboot every Sunday at 4 AM
0 4 * * 0 /sbin/rebootImmediate Reboot
reboot