Fix crontab permissions
This commit is contained in:
1 parent
c68c19a4c0
commit
898e42e0b7
3 files changed
+6
-2
No files matched your search
+1
-1
@@ -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" ]
|
||||
Reference in new issue
Block a user