ip-address-watchdog
This is an old revision of the document!
Simple IP-Address Watchdog
$ crontab -l @reboot /usr/bin/sleep 60 && /usr/bin/curl -kso /dev/null https://adurias.org/watchdog?hostname=$(hostname)\&address=$(/usr/sbin/ip -4 route get 1.0.0.0 | /usr/bin/awk '/dev/ { print $7 }')
ip-address-watchdog.1653727056.txt.gz · Last modified: 2022/05/28 10:37 by baumi