Created
November 6, 2012 17:55
-
-
Save YoniTsafir/4026348 to your computer and use it in GitHub Desktop.
A way to obtain a session to leaan.co.il when there's a derby sale :)
This file contains 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
#!/bin/bash | |
while [ 1 == 1 ]; do | |
curl http://www.leaan.co.il | grep Lean-Logo.png 2>&1 > /dev/null | |
if [ $? == 0 ]; then | |
open http://www.leaan.co.il; | |
fi | |
sleep 1 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment