From 8a4dd785ef08fe0c4635eafe05f98a472e6d873d Mon Sep 17 00:00:00 2001 From: Daniel Orner Date: Sun, 1 Dec 2024 09:52:39 -0500 Subject: [PATCH] move to delayed job (#4809) --- clock.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clock.rb b/clock.rb index fcf3e803b4..b19137dd1c 100644 --- a/clock.rb +++ b/clock.rb @@ -35,6 +35,6 @@ module Clockwork end every(1.day, "Send reminder emails", at: "12:00", if: lambda { |_| Rails.env.production? }) do - ReminderDeadlineJob.perform_now + ReminderDeadlineJob.perform_later end end