Fix cron period

This commit is contained in:
Anton Zadvorny 2020-01-22 17:29:46 +03:00
parent 09a02b4633
commit fcccdc71aa
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ ENV TZ=Europe/Moscow
ENV TERM=xterm-color
RUN apt-get update && \
apt-get install -y --no-install-recommends cron python3 python3-pymysql python3-qrcode p7zip && \
apt-get install -y --no-install-recommends cron python3 python3-pymysql python3-qrcode p7zip-full && \
rm -rf /var/lib/apt/lists/*
RUN \

View File

@ -1 +1 @@
* * * * * root . /etc/environment; python3 /opt/gtfs2qr/gtfs2qr.py > /opt/gtfs2qr/logs.log 2>&1
0 * * * * root . /etc/environment; python3 /opt/gtfs2qr/gtfs2qr.py >> /opt/gtfs2qr/logs.log 2>&1