-
-
Save uGeek/3d39959af8080ed396c5c56e5872e5ac to your computer and use it in GitHub Desktop.
Suonare un allarme tramite i dati in emergenza
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 | |
#vedere doc http://python-rsstail.readthedocs.io/en/latest/ | |
rsstail -i 3 -u http://emergency.copernicus.eu/mapping/list-of-components/EMSR261/feed -n 0 | while read line | |
do | |
afplay allarme.mp3 | |
echo "$line" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment