diff options
Diffstat (limited to 'skripti/mgl_obvesti_ob_dogodku.sh')
-rwxr-xr-x | skripti/mgl_obvesti_ob_dogodku.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/skripti/mgl_obvesti_ob_dogodku.sh b/skripti/mgl_obvesti_ob_dogodku.sh index 3714513..1117063 100755 --- a/skripti/mgl_obvesti_ob_dogodku.sh +++ b/skripti/mgl_obvesti_ob_dogodku.sh @@ -3,6 +3,7 @@ set -xeuo pipefail olds="" while : do + sleep 60 news=`curl -H "User-Agent: $0 kontakt anton@sijanec.eu" "https://www.mgl.si/sl/spored/?location=1&event=1072&subs=" | grep "big-date" | cut -d\> -f2 | cut -d\< -f1` if [ "$news" = "$olds" ] then @@ -16,5 +17,4 @@ Subject: novi datumi iskane predstave v mgl datumi so: $news EOF olds=$news - sleep 60 done |