Skip to content

Instantly share code, notes, and snippets.

@changkun
Created June 28, 2018 15:46
Show Gist options
  • Save changkun/e5012a5b7ddc4722ba2adeeef69887cc to your computer and use it in GitHub Desktop.
Save changkun/e5012a5b7ddc4722ba2adeeef69887cc to your computer and use it in GitHub Desktop.
Zero downtime checking
while true; do curl -o /dev/null -sw "%{http_code}\n" https://labex.io; sleep .5; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment