Last active
June 10, 2016 10:24
-
-
Save kevinxhan/50866d46c4823f35359c4d1cabf74506 to your computer and use it in GitHub Desktop.
chronos web server check script
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
web server 응답을 주기적으로 check하도록 chronos job에 등록한다. | |
resp=$(curl -s -w "%{http_code}\\n" http://www.daum.net/ -o /deu/null);if [[ "$resp" != "200" ]];then curl "http://api.noti.daumkakao.io/send/personal/kakaotalk?to=kelvin.han&msg=error"; fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment