Created
December 26, 2017 16:27
-
-
Save iltempe/07082e2eee9f32dd90bc05b90742c31d 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