Cron: time-based Job Scheduler

Nightly Reboot.

Edit crontab:

sudo crontab -e

Insert a line like:

0 3 * * * /sbin/shutdown -r +5

Scheduling breakdown:

m      h    dom        mon   dow       command
minute hour dayOfMonth Month dayOfWeek commandToRun