demarches-normaliennes/app/jobs/notify_draft_not_submitted_job.rb

7 lines
180 B
Ruby

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