Skip to content

Commit

Permalink
move to delayed job (#4809)
Browse files Browse the repository at this point in the history
  • Loading branch information
dorner authored Dec 1, 2024
1 parent f6f64e1 commit 8a4dd78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clock.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8a4dd78

Please sign in to comment.