Skip to content

Instantly share code, notes, and snippets.

@jacopen
Created November 20, 2018 04:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jacopen/c2a4ccb553f8f1f272b39eaa4fab3096 to your computer and use it in GitHub Desktop.
Save jacopen/c2a4ccb553f8f1f272b39eaa4fab3096 to your computer and use it in GitHub Desktop.
statuscode check script
while true; do echo `date '+%Y-%m-%d %H:%M:%S'` -- `curl -LIs http://slack.paas.jp -o /dev/null -w '%{http_code}\n'` >> log;sleep 1; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment