Created
June 13, 2016 23:24
-
-
Save kakashysen/f185900334aeab1966a5df170fb4094b to your computer and use it in GitHub Desktop.
Notify when apple developers site it's ready
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
| loop=0 | |
| while [ $loop -eq 0 ] | |
| do | |
| ready=`curl -s http://devimages.apple.com/maintenance#/overview/KVANJVKSA4 | grep -i "back soon." | wc -l` | |
| if [ "$ready" -eq 0 ]; then | |
| osascript -e 'tell app "Finder" to display dialog "Apple Developer Site it is ready"' | |
| let loop=1 | |
| fi | |
| sleep 5 | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment