Skip to content

Instantly share code, notes, and snippets.

@ChuckMichael
Last active August 4, 2022 15:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ChuckMichael/8a556865d7ce99c8e355fd8e1513ab64 to your computer and use it in GitHub Desktop.
Save ChuckMichael/8a556865d7ce99c8e355fd8e1513ab64 to your computer and use it in GitHub Desktop.
restart router every Saturday on 4:00.
# source https://openwrt.org/docs/guide-user/base-system/cron#periodic_reboot
crontab -e
# Restart router at 04:00 on Saturday
0 4 * * 6 sleep 70 && touch /etc/banner && reboot
# crontab must end with the last line as space or a comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment