2020-11-13 14:34:53 +01:00
|
|
|
class Cron::InstructeurEmailNotificationJob < Cron::CronJob
|
2023-05-09 11:32:35 +02:00
|
|
|
self.schedule_expression = "from monday through friday at 9 am"
|
2019-03-13 17:27:36 +01:00
|
|
|
|
|
|
|
def perform(*args)
|
2019-08-06 11:02:54 +02:00
|
|
|
NotificationService.send_instructeur_email_notification
|
2019-03-13 17:27:36 +01:00
|
|
|
end
|
|
|
|
end
|