demarches-normaliennes/app/jobs/instructeur_email_notification_job.rb

8 lines
207 B
Ruby
Raw Normal View History

2020-03-28 16:49:40 +01:00
class InstructeurEmailNotificationJob < 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