Created
January 10, 2012 22:59
-
-
Save docteurklein/1591750 to your computer and use it in GitHub Desktop.
watch free mobile every hour; send a mail if not flooded anymore
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
watch -n 3600 'STATUS=`curl -sL -w "%{http_code}\\n" https://mobile.free.fr/souscription/jsCartValidation -o /dev/null`; test $STATUS -ne 502 && mail -s "yahoo" [email protected]' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment