Skip to content

Commit

Permalink
update cron tab to correct times
Browse files Browse the repository at this point in the history
  • Loading branch information
mosesmc52 committed Nov 22, 2021
1 parent 310aebd commit c43b5a3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker_entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ echo "SHELL=/bin/bash
BASH_ENV=/container.env
# 1st Quarter, At 00:00 on day-of-month 1 in February.
0 0 20 1 * cd /app && ./scripts/update_wb_data.sh >> /var/log/cron.log 2>&1
0 0 1 2 * cd /app && ./scripts/update_wb_data.sh >> /var/log/cron.log 2>&1
# 2nd Quarter, At 00:00 on day-of-month 1 in May.
12 0 * * 4 cd /app && ./scripts/update_wb_data.sh >> /var/log/cron.log 2>&1
0 0 1 5 * cd /app && ./scripts/update_wb_data.sh >> /var/log/cron.log 2>&1
# 3rd Quarter, At 00:00 on day-of-month 1 in August.
0 0 1 11 * * cd /app && ./scripts/update_wb_data.sh >> /var/log/cron.log 2>&1
0 0 1 8 * cd /app && ./scripts/update_wb_data.sh >> /var/log/cron.log 2>&1
# 4th Quarter, At 00:00 on day-of-month 1 in November.
12 0 * * 1 cd /app && ./scripts/update_wb_data.sh >> /var/log/cron.log 2>&1
0 0 1 11 * cd /app && ./scripts/update_wb_data.sh >> /var/log/cron.log 2>&1
# This extra line makes it a valid cron" > scheduler.txt

crontab scheduler.txt
Expand Down

0 comments on commit c43b5a3

Please sign in to comment.