One of my favourite examples: resetting the router using a timer instead of scripting it
https://www.howtogeek.com/289178/how-to-automatically-reboot...
https://www.howtogeek.com/289178/how-to-automatically-reboot...
My solution was exactly this (although without googling for a solution). A 24 hour light timer, set to power cycle the modem sometime in the middle of the night. Since it usually took several days before the modem got hung, a nightly power cycle meant that things were working properly at other times.