Skip to content

Instantly share code, notes, and snippets.

@rdpascua
Created June 14, 2018 10:07
Show Gist options
  • Save rdpascua/1f3efc1cccd4321244dfbaedd9d6058e to your computer and use it in GitHub Desktop.
Save rdpascua/1f3efc1cccd4321244dfbaedd9d6058e to your computer and use it in GitHub Desktop.
Reboot every 4am + 5 minutes
(crontab -l 2>/dev/null; echo "0 4 * * * /sbin/shutdown -r +5") | sudo crontab -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment