home
clear breadcrumbs
search
login
 
server monitor
To run this in the background: nohup script.sh & while true echo "Website Monitoring started "$(date)" in Progress... CTRL-C to quit" do if ! curl -s --head --request GET https://pete-olson.com | grep "200 OK" > /dev/null; then curl -X POST https://textbelt.com/text \ --data-urlencode phone='8608109571' \ --data-urlencode message='pete-olson dot com is not available' \ -d key=2d7e7253ab610c5c4e14370e528ef0cbc6f7fad5bYl8djHjdSToY3fckx1c0A4Be break fi sleep 15m done