demarches-normaliennes/app/jobs/cron/instructeur_email_notification_job.rb
2024-08-22 09:26:48 +02:00

9 lines
249 B
Ruby

# frozen_string_literal: true
class Cron::InstructeurEmailNotificationJob < Cron::CronJob
self.schedule_expression = "from monday through friday at 9 am"
def perform(*args)
NotificationService.send_instructeur_email_notification
end
end