Skip to content

Commit

Permalink
Add scheduled jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
KludgeKML committed Nov 20, 2023
1 parent 0eec11e commit 6232bef
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions config/sidekiq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,13 @@
recover_lost_jobs:
every: '30m'
class: RecoverLostJobsWorker
check_medical_safety_alerts:
every: '15m'
class: AlertCheckWorker
args: { document_type: "medical_safety_alert", display_name: "Medical Safety Alert" }
keyword_arguments: true
check_travel_advice_alerts:
every: '15m'
class: AlertCheckWorker
args: { document_type: "travel_advice_alert", display_name: "Travel Advice Alert" }
keyword_arguments: true

0 comments on commit 6232bef

Please sign in to comment.