demarches-normaliennes/app/jobs/notify_draft_not_submitted_job.rb

8 lines
151 B
Ruby
Raw Normal View History

2020-03-28 16:49:40 +01:00
class NotifyDraftNotSubmittedJob < CronJob
self.cron_expression = "0 7 * * *"
2020-03-19 03:55:58 +01:00
def perform(*args)
Dossier.notify_draft_not_submitted
end
end