From 7768c8ed922d7908d9884e8bbf6d409c47065266 Mon Sep 17 00:00:00 2001 From: Nils Jakobi Date: Mon, 4 Nov 2019 22:32:17 +0100 Subject: [PATCH] now featuring new lines! --- Dockerfile | 2 +- crontab | 2 +- nodePoller.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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