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

8 lines
219 B
Ruby
Raw Normal View History

class Cron::InstructeurEmailNotificationJob < Cron::CronJob
self.schedule_expression = "from monday through friday at 10 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