Created
August 8, 2023 14:45
-
-
Save reevik/2af026b2d2283bce3b7d2dd913f96a20 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
moshtel_web="https://camper-park-wacken.de" | |
md5=`curl -s -X GET $moshtel_web | md5sum | awk -F' ' '{print $1}'` | |
if [ ! -e /var/tmp/$md5 ] | |
then | |
osascript -e 'display notification "You should check out: '$moshtel_web'" with title "Moshtel Alarm"' | |
fi | |
touch /var/tmp/$md5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment