demarches-normaliennes/app/jobs/cron/notify_draft_not_submitted_job.rb

8 lines
192 B
Ruby
Raw Permalink Normal View History

class Cron::NotifyDraftNotSubmittedJob < Cron::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