Created
June 6, 2011 20:36
-
-
Save bclubb/1011039 to your computer and use it in GitHub Desktop.
Let's you know when the developer site is back up. hopefully. Remember to chmod +x i_want_my_ios5.sh and then run ./i_want_my_ios5.sh from the terminal
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
| #!/bin/sh | |
| while [ "true" ] | |
| do | |
| RESPONSE=$(curl --write-out %{http_code} --silent --output /dev/null http://developer.apple.com/devcenter/ios/index.action) | |
| if [ "$RESPONSE" -ne "302" ]; then | |
| #afplay "Finished.mp3" #uncomment the start of the line and add your own sound if you want something to play | |
| echo "It's up!!!!" | |
| fi | |
| sleep 60 | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment