KnowHow DB
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Scheduled Tasks

Adblock

# Adblock Reload
45 06 * * * /etc/init.d/adblock restart

Reboot

# https://openwrt.org/docs/guide-user/base-system/cron#periodic_reboot
# 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

Wifi

# disable wifi over night
0 0 * * * ifconfig wlan0 down
0 6 * * * ifconfig wlan0 up