diff --git a/Dockerfile b/Dockerfile index 30a90ee..58479fe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,4 +11,4 @@ COPY nodePoller.sh . # Init cron RUN crontab /etc/cron/crontab -CMD ["crond", "-f"] \ No newline at end of file +CMD ["crond", "-f"] diff --git a/crontab b/crontab index af71e72..920c07e 100644 --- a/crontab +++ b/crontab @@ -1 +1 @@ -* * * * * /opt/fftdf/nodePoller.sh \ No newline at end of file +* * * * * /opt/fftdf/nodePoller.sh diff --git a/nodePoller.sh b/nodePoller.sh index bb4ee00..e6ffc7f 100755 --- a/nodePoller.sh +++ b/nodePoller.sh @@ -6,4 +6,4 @@ 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 done -done \ No newline at end of file +done