demarches-normaliennes/app/jobs/cron/notify_draft_not_submitted_job.rb
2024-08-22 09:26:48 +02:00

9 lines
223 B
Ruby

# frozen_string_literal: true
class Cron::NotifyDraftNotSubmittedJob < Cron::CronJob
self.schedule_expression = "from monday through friday at 7 am"
def perform(*args)
Dossier.notify_draft_not_submitted
end
end