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

10 lines
249 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class Cron::InstructeurEmailNotificationJob < Cron::CronJob
self.schedule_expression = "from monday through friday at 9 am"
2019-03-13 17:27:36 +01:00
def perform(*args)
NotificationService.send_instructeur_email_notification
2019-03-13 17:27:36 +01:00
end
end