now featuring new lines!

This commit is contained in:
Nils Stinnesbeck 2019-11-04 22:32:17 +01:00
parent 4313edc993
commit 7768c8ed92
Signed by: nils
GPG Key ID: 86D4882C6C6CA48B
3 changed files with 3 additions and 3 deletions

View File

@ -11,4 +11,4 @@ COPY nodePoller.sh .
# Init cron # Init cron
RUN crontab /etc/cron/crontab RUN crontab /etc/cron/crontab
CMD ["crond", "-f"] CMD ["crond", "-f"]

View File

@ -1 +1 @@
* * * * * /opt/fftdf/nodePoller.sh * * * * * /opt/fftdf/nodePoller.sh

View File

@ -6,4 +6,4 @@ do
do do
curl http://$i.fftdf.de/$f.json -o /opt/data/tdf$i/$f.json || sed -i -e 's/"is_online":true/"is_online":false/g' /opt/data/tdf$i/$f.json curl http://$i.fftdf.de/$f.json -o /opt/data/tdf$i/$f.json || sed -i -e 's/"is_online":true/"is_online":false/g' /opt/data/tdf$i/$f.json
done done
done done