Created
April 30, 2013 15:30
-
-
Save fedir/5489471 to your computer and use it in GitHub Desktop.
Play alarm.wav once site is back # from https://twitter.com/climagic/status/322922983763095552
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
while ! curl -m 10 http://www.example.com/ ; do echo still down ; sleep 10 ; done ; play alarm.wav # Play alarm.wav once site is back. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Possibilities to improve :