Skip to content

Instantly share code, notes, and snippets.

@rgm
Created April 8, 2010 18:28
Show Gist options
  • Save rgm/360360 to your computer and use it in GitHub Desktop.
Save rgm/360360 to your computer and use it in GitHub Desktop.
while [[ 1 ]]; do
curl -s http://developer.apple.com/iphone | grep -i "comebacksoon" > /dev/null
if [[ $? == 0 ]]; then
echo 'down'
else
say 'THE DEVELOPER SITE IS UP'
echo 'up'
break
fi
sleep 120
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment