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

8 lines
218 B
Ruby
Raw Permalink Normal View History

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