Created
December 10, 2013 22:26
-
-
Save awaxa/7901449 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env bash | |
FETCH="curl -s http://www.awaxa.com/ | grep awaxa | wc -l | sed s/[^0-9]*//g" | |
QUEUE=$(eval $FETCH) | |
if [ $QUEUE -eq 1 ] ; then | |
echo success | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment