Skip to content

Commit

Permalink
Merge pull request #8630 from DFE-Digital/do-not-run-the-cancel-job-f…
Browse files Browse the repository at this point in the history
…or-now

Do not cancel unsubmitted applications in clock work now
  • Loading branch information
tomas-stefano authored Oct 4, 2023
2 parents 7245a29 + 1d4bfd6 commit 571174f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/clock.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class Clock
every(1.day, 'TriggerFullSyncIfFindClosed', at: '00:05') { TeacherTrainingPublicAPI::TriggerFullSyncIfFindClosed.call }
every(1.day, 'NudgeCandidatesWorker', at: '10:00') { NudgeCandidatesWorker.perform_async }

every(1.day, 'CancelUnsubmittedApplicationsWorker', at: '00:10') { CancelUnsubmittedApplicationsWorker.perform_async }
# every(1.day, 'CancelUnsubmittedApplicationsWorker', at: '11:00') { CancelUnsubmittedApplicationsWorker.perform_async }

# Daily jobs - mon-thurs only
every(1.day, 'SendStatsSummaryToSlack', at: '17:00', if: ->(period) { period.wday.between?(1, 4) }) { SendStatsSummaryToSlack.new.perform }
Expand Down

0 comments on commit 571174f

Please sign in to comment.