demarches-normaliennes/app/jobs/notify_draft_not_submitted_job.rb
2020-03-31 12:25:46 +02:00

7 lines
151 B
Ruby

class NotifyDraftNotSubmittedJob < CronJob
self.cron_expression = "0 7 * * *"
def perform(*args)
Dossier.notify_draft_not_submitted
end
end