Add Internet Notification Task

This commit is contained in:
Adil Sadqi 2024-09-30 20:05:56 +00:00
commit 7f0d914e41
1 changed files with 1 additions and 0 deletions

View File

@ -0,0 +1 @@
0 * * * * if ping -c 3 8.8.8.8 > /dev/null 2>&1; then curl -d "Internet connection is up! IP: $(curl -s ifconfig.me), Time: $(date -u --date='1 hour' +'%Y-%m-%d %H:%M:%S') (GMT+1)" https://ntfy.asadqi.eu.org/Router; fi