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 4f2ea71 commit 8b66cb1
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" }
keyword_arguments: true
check_travel_advice_alerts:
every: '15m'
class: AlertCheckWorker
args: { document_type: "travel_advice_alert" }
keyword_arguments: true

0 comments on commit 8b66cb1

Please sign in to comment.