Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
wget --spider -nv --timeout 10 -t 1 http://hogehoge.cloud.teu.ac.jp
if [ $? = 0 ]; then
curl -X POST --data-urlencode 'payload={"text":"復活なう!\n急げ!"}' https://hooks.slack.com/services/xxxxxxxxxxxxxx
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment