Skip to content

Commit

Permalink
fix: Application Server submissions checker runs 60 times a day
Browse files Browse the repository at this point in the history
  • Loading branch information
prateekj117 committed May 12, 2021
1 parent 6eb5ac8 commit ec298ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions install_files/ansible-base/roles/app/tasks/setup_cron.yml
Expand Up @@ -20,6 +20,7 @@
cron:
name: Update the number of submissions in the past 24h
job: "{{ securedrop_code }}/manage.py were-there-submissions-today"
minute: "0"
# 0 -> 23, 1 -> 0, 2 -> 1, ... 23 -> 22
hour: "{{ (daily_reboot_time + 23) % 24 }}"
tags:
Expand Down

0 comments on commit ec298ac

Please sign in to comment.