Created
June 8, 2017 19:12
-
-
Save augbog/28bbe8a35fd72b55748b56f150f6a1f7 to your computer and use it in GitHub Desktop.
Revisions
-
augbog renamed this gist
Jun 8, 2017 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
augbog created this gist
Jun 8, 2017 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ #!/bin/bash echo 'Running Pax Tickets script...' while [ 1 ]; do count=`curl -H 'Cache-Control: no-cache' -s "http://west.paxsite.com/registration?$[ (RANDOM % 18747214) + 1 ]" | grep -c "showclix.com"` echo "http://west.paxsite.com/registration?$[ (RANDOM % 18747214) + 1 ]" if [ "$count" != "0" ] then echo "West PAX Site updated!" osascript -e 'display notification "PAX tickets updated!" with title "PAX Tickets"' fi sleep $[ (RANDOM % 2) + 1 ] done