From e3c5b07add1a9110b2a81fd0b89bb53e8264a816 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ses=C3=B3stris=20Vieira?= Date: Tue, 19 Dec 2023 12:47:20 -0300 Subject: [PATCH] =?UTF-8?q?Cron=20de=20sincroniza=C3=A7=C3=A3o=20com=20Sab?= =?UTF-8?q?eres=20para=20as=204h=20da=20manh=C3=A3.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index a146776..31e8f16 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -98,7 +98,7 @@ RUN crontab -l | { cat; echo "0 * * * * /usr/local/bin/python ${HOME}/manage.py RUN crontab -l | { cat; echo "0 0 * * * /usr/local/bin/python ${HOME}/manage.py runjobs daily >> /var/log/sigi/cron.log 2>&1"; } | crontab - RUN crontab -l | { cat; echo "0 0 * * 0 /usr/local/bin/python ${HOME}/manage.py runjobs weekly >> /var/log/sigi/cron.log 2>&1"; } | crontab - RUN crontab -l | { cat; echo "0 0 1 * * /usr/local/bin/python ${HOME}/manage.py runjobs monthly >> /var/log/sigi/cron.log 2>&1"; } | crontab - - +RUN crontab -l | { cat; echo "0 4 * * * /usr/local/bin/python ${HOME}/manage.py runjob sincroniza_saberes >> /var/log/sigi/cron.log 2>&1"; } | crontab - EXPOSE 80/tcp 443/tcp ENV DEBIAN_FRONTEND=teletype