1st
This commit is contained in:
parent
92fd153ad6
commit
583573bc42
10
Dockerfile
Normal file
10
Dockerfile
Normal 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
4
crontab
Normal 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
|
Loading…
Reference in New Issue
Block a user