summaryrefslogtreecommitdiffstats
path: root/skripti/mgl_obvesti_ob_dogodku.sh
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2024-03-12 20:09:59 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2024-03-12 20:09:59 +0100
commit7de98dd15b7d50e19e29e682b727d845804868ba (patch)
treeeeac4ad5d7fd21817214fe2d672602f2580f21f8 /skripti/mgl_obvesti_ob_dogodku.sh
parentstudisfri-deleted (diff)
downloadr-7de98dd15b7d50e19e29e682b727d845804868ba.tar
r-7de98dd15b7d50e19e29e682b727d845804868ba.tar.gz
r-7de98dd15b7d50e19e29e682b727d845804868ba.tar.bz2
r-7de98dd15b7d50e19e29e682b727d845804868ba.tar.lz
r-7de98dd15b7d50e19e29e682b727d845804868ba.tar.xz
r-7de98dd15b7d50e19e29e682b727d845804868ba.tar.zst
r-7de98dd15b7d50e19e29e682b727d845804868ba.zip
Diffstat (limited to '')
-rwxr-xr-xskripti/mgl_obvesti_ob_dogodku.sh2
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