diff options
author | jwansek <eddie.atten.ea29@gmail.com> | 2023-07-08 20:21:42 +0100 |
---|---|---|
committer | jwansek <eddie.atten.ea29@gmail.com> | 2023-07-08 20:21:42 +0100 |
commit | 82a65a4d9c6e728971e1cdbd1756f1dff0065920 (patch) | |
tree | f2884680df71d2ebd2dfca963ba882d939324ab9 | |
parent | 9d2c74c059153bffc9ef00a126ee899cae915698 (diff) | |
download | power.eda.gay-82a65a4d9c6e728971e1cdbd1756f1dff0065920.tar.gz power.eda.gay-82a65a4d9c6e728971e1cdbd1756f1dff0065920.zip |
Fixed bug with daily crontab
-rw-r--r-- | cron_Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cron_Dockerfile b/cron_Dockerfile index 99a9525..f198662 100644 --- a/cron_Dockerfile +++ b/cron_Dockerfile @@ -11,6 +11,6 @@ RUN touch .docker RUN pip3 install -r requirements.txt
RUN echo "*/1 * * * * root python3 /app/devices.py nothourly > /proc/1/fd/1 2>/proc/1/fd/2" > /etc/crontab
-RUN echo "@hourly root python3 /app/devices.py hourly > /proc/1/fd/1 2>/proc/1/fd/2" >> /etc/crontab
+RUN echo "@daily root python3 /app/devices.py daily > /proc/1/fd/1 2>/proc/1/fd/2" >> /etc/crontab
ENTRYPOINT ["bash"]
CMD ["entrypoint.sh"]
\ No newline at end of file |