From 833a0748e0b54959c8fd6345263d3ac5654a7eac Mon Sep 17 00:00:00 2001 From: Daniel Orner Date: Sat, 30 Nov 2024 20:42:57 -0500 Subject: [PATCH] move to delayed job --- 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