Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- PERIOD=300
- while true; do
- for n in $*; do
- URL="http://us.twitcasting.tv/$n"
- (curl -s $URL | grep -E 'on Live|Radio Live!' > /dev/null) && (echo `date` " $URL"; beep; beep; beep)
- done
- sleep $PERIOD
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement