Fix crontab permissions

This commit is contained in:
iosullivan committed 2026-07-18 15:19:06 +08:00
1 parent c68c19a4c0
commit 898e42e0b7
3 files changed
+6 -2

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ RUN chmod 0644 /etc/cron.d/cronjob
RUN crontab /etc/cron.d/cronjob
# Create the log file to be able to run tail
RUN touch /var/log/cron.log
RUN touch /var/log/cron_python.log
# Run the command on container startup
CMD ["cron","-f" ]