Skip to content

Commit eafde96

Browse files
committed
Add recurring schedule for weekly batch scheduler job
Schedule the job to run every Monday at 2:15 AM London time. We tell users that we will run the job shortly after 2:00 AM. We're scheduling it to run a little while after the job to schedule the daily batches has run in order to spread the load on the system.
1 parent 4a2e401 commit eafde96

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

config/recurring.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ production:
1414
schedule_daily_batch_deliveries_job:
1515
class: ScheduleDailyBatchDeliveriesJob
1616
schedule: every day at 2am Europe/London
17+
schedule_weekly_batch_deliveries_job:
18+
class: ScheduleWeeklyBatchDeliveriesJob
19+
schedule: every Monday at 2:15am Europe/London
1720
development:
1821
delete_submissions_job:
1922
class: DeleteSubmissionsJob
@@ -30,3 +33,6 @@ development:
3033
schedule_daily_batch_deliveries_job:
3134
class: ScheduleDailyBatchDeliveriesJob
3235
schedule: every day at 2am Europe/London
36+
schedule_weekly_batch_deliveries_job:
37+
class: ScheduleWeeklyBatchDeliveriesJob
38+
schedule: every Monday at 2:15am Europe/London

0 commit comments

Comments
 (0)