Skip to content

Instantly share code, notes, and snippets.

@NARKOZ NARKOZ/gist:842156
Created Feb 24, 2011

Embed
What would you like to do?
Apple Store is down, awaiting new 2011 MacBook Pro
#! /bin/bash
while [[ true ]]; do
STOREDOWN=`curl -s http://store.apple.com/us | grep backsoon`
if [ "$STOREDOWN" = "" ]; then
/usr/local/bin/growlnotify "Apple store is up!" -m "Let' see what's new"
exit
fi
sleep 20
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.