Created
March 22, 2016 14:46
-
-
Save antillean/a3a193376db31178f4a5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
## curls a url every second to see if it's up. Returns the response code, highlighting it if it changes. | |
watch -n1 -d curl -s -o /dev/null -w %{http_code} https://www.url.to.check |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment