crontab updated
This commit is contained in:
@@ -19,8 +19,7 @@ COPY ../api_validations ./service_account_records/api_validations
|
||||
RUN apt-get update && apt-get install -y cron
|
||||
|
||||
# 11:00 Istanbul Time (UTC+3) system time is 08:00 UTC
|
||||
RUN echo "*/15 * * * * /usr/local/bin/python /service_account_records/app_accounts.py " >> /tmp/crontab_list && crontab /tmp/crontab_list
|
||||
|
||||
RUN echo "*/15 * * * * /usr/local/bin/python /service_account_records/app_accounts.py >> /var/log/cron.log 2>&1" >> /tmp/crontab_list && crontab /tmp/crontab_list
|
||||
RUN touch /var/log/cron.log
|
||||
|
||||
CMD cron && tail -f /var/log/cron.log
|
||||
|
||||
Reference in New Issue
Block a user