From 6232bef7ed4b5ce19738d444409b067682ee7a25 Mon Sep 17 00:00:00 2001 From: Keith Lawrence Date: Thu, 9 Nov 2023 15:04:50 +0000 Subject: [PATCH] Add scheduled jobs --- config/sidekiq.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config/sidekiq.yml b/config/sidekiq.yml index 17bfa1397..e3cf44234 100644 --- a/config/sidekiq.yml +++ b/config/sidekiq.yml @@ -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