commit 7f0d914e41d15f72a04e73ef6d4ccf1593e0ddfb Author: Adil Sadqi Date: Mon Sep 30 20:05:56 2024 +0000 Add Internet Notification Task diff --git a/Internet Notification Task b/Internet Notification Task new file mode 100644 index 0000000..c6eb371 --- /dev/null +++ b/Internet Notification Task @@ -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