This commit is contained in:
2021-07-14 10:09:26 -04:00
parent 8e1e644904
commit 7a6e9dec95
4 changed files with 10 additions and 1 deletions

9
backend/Cron.Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM ubuntu
RUN apt-get update && apt-get install -y cron
COPY ./automation/crontab /var/spool/cron/crontabs/backend
#ENTRYPOINT [ "/bin/bash" ]
CMD ["cron", "-f"]

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
0 2 * * * curl backend/update 0 2 * * * curl http://backend/update