Skip to content

Instantly share code, notes, and snippets.

@alunny
Created August 22, 2013 03:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save alunny/6302777 to your computer and use it in GitHub Desktop.
Save alunny/6302777 to your computer and use it in GitHub Desktop.
#!/bin/bash
while true
do
curl http://eztv.it | grep "href=\"\/ep\/.*\/masterchef"
if [ $? -ne 0 ]
then
echo "not found at `date`"
sleep 30
else
say "MASTER CHEF AVAILABLE"
exit 0
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment