Created
August 10, 2023 15:41
-
-
Save garex/cf45abb6c68f9acf63d2c6c1777f0525 to your computer and use it in GitHub Desktop.
Check tickets.sibir-arena.ru is alive
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
# Remember to chmod +x | |
while true; do | |
echo -n . | |
HTTP_CODE=$(curl --silent -I -X GET https://tickets.sibir-arena.ru/ | head -1 | awk '{print $2}') | |
[[ 200 = $HTTP_CODE ]] && break | |
sleep 15 | |
done | |
notify-send "Sibir arena alive!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment