demarches-normaliennes/app/jobs/notify_draft_not_submitted_job.rb

8 lines
180 B
Ruby
Raw Normal View History

2020-03-28 16:49:40 +01:00
class NotifyDraftNotSubmittedJob < CronJob
self.schedule_expression = "from monday through friday at 7 am"
2020-03-19 03:55:58 +01:00
def perform(*args)
Dossier.notify_draft_not_submitted
end
end