Created
January 30, 2022 09:39
-
-
Save kinwahlai/4cc93f7abf5204d6f29d5fc015d3d592 to your computer and use it in GitHub Desktop.
scheduled task to restart OpenWRT router
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Reboot at 4:30am every day | |
# Note: To avoid infinite reboot loop, wait 70 seconds | |
# and touch a file in /etc so clock will be set | |
# properly to 4:31 on reboot before cron starts. | |
30 4 * * * sleep 70 && touch /etc/banner && reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment