Skip to content

Instantly share code, notes, and snippets.

@adrian154
Created March 17, 2023 20:48
Show Gist options
  • Save adrian154/07fe8c199b206c88753809538455e8aa to your computer and use it in GitHub Desktop.
Save adrian154/07fe8c199b206c88753809538455e8aa to your computer and use it in GitHub Desktop.
#!/bin/bash
while curl -sS "https://bruins.admission.ucla.edu/myApplication/Status.aspx" | tac | grep -q 'currently unavailable'
do
sleep 10
done
while true;
do
echo 'AVAILABLE!!'
echo $'\a'
sleep 3
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment