Follow

while ! curl -m 60 http://www.the-site-that-you-care-about-that-is-down\.com/ ; do echo The site is still down ; sleep 60 ; done ; play alarm.wav # Play alarm.wav once site is back.

@climagic Turned it into a quick shell script to do that. Run this script with the site as an argument and it will monitor then exit after playing the sound

https://git.marcg.pizza/~marcg/Shell_Scripts/tree/master/isdown.sh

Nice alarm sounds from here

http://soundbible.com/tags-alarm.html
Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!