This commit is contained in:
stebifan 2018-04-18 00:21:30 +02:00
parent 92fd153ad6
commit 583573bc42
2 changed files with 14 additions and 0 deletions

10
Dockerfile Normal file
View File

@ -0,0 +1,10 @@
FROM alpine:3.7
LABEL maintainer "Stefan Hoffmann>"
# Configure cron
COPY crontab /etc/cron/crontab
# Init cron
RUN crontab /etc/cron/crontab
CMD ["crond", "-f"]

4
crontab Normal file
View File

@ -0,0 +1,4 @@
* * * * * wget http://4.fftdf.de/graph.json -O /opt/data/tdf4/graph.json
* * * * * wget http://4.fftdf.de/meshviewer.json -O /opt/data/tdf4/meshviewer.json
* * * * * wget http://4.fftdf.de/nodelist.json -O /opt/data/tdf4/nodelist.json
* * * * * wget http://4.fftdf.de/nodes.json -O /opt/data/tdf4/nodes.json