now featuring new lines!
This commit is contained in:
parent
4313edc993
commit
7768c8ed92
@ -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"]
|
||||||
|
2
crontab
2
crontab
@ -1 +1 @@
|
|||||||
* * * * * /opt/fftdf/nodePoller.sh
|
* * * * * /opt/fftdf/nodePoller.sh
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user