Repository URL to install this package:
Version:
1.2.0-1 ▾
|
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command
# Reset modem network if unable to access Internet
27 * * * * root /usr/local/lib/network-rescue/modem-reset.sh >>/var/log/network-rescue/modem-reset-$(date +\%Y\%m).log 2>&1
# Retry reset modem network and reboot OS if still unable to access Internet
32 * * * * root /usr/local/lib/network-rescue/modem-reset-retry.sh >>/var/log/network-rescue/modem-reset-retry-$(date +\%Y\%m).log 2>&1
# Reboot OS if unable to access Internet
0 3 * * * root /usr/local/lib/network-rescue/check-online.sh >>/var/log/network-rescue/check-online.log 2>&1