2024-04-29 00:17:15 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2020-11-13 14:34:53 +01:00
|
|
|
class Cron::NotifyDraftNotSubmittedJob < Cron::CronJob
|
2020-04-01 15:26:46 +02:00
|
|
|
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
|