Created
January 8, 2018 14:12
-
-
Save uutarou10/86416893380eb5bc6493b60d113bee50 to your computer and use it in GitHub Desktop.
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
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