Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
network-rescue / etc / cron.d / network-rescue
Size: Mime:
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