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

10 lines
223 B
Ruby
Raw Normal View History

# frozen_string_literal: true
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