move all the cron jobs in a dedicated directory
This commit is contained in:
parent
977736e5d4
commit
513d4f6ff1
23 changed files with 34 additions and 34 deletions
7
app/jobs/cron/instructeur_email_notification_job.rb
Normal file
7
app/jobs/cron/instructeur_email_notification_job.rb
Normal file
|
@ -0,0 +1,7 @@
|
|||
class Cron::InstructeurEmailNotificationJob < Cron::CronJob
|
||||
self.schedule_expression = "from monday through friday at 10 am"
|
||||
|
||||
def perform(*args)
|
||||
NotificationService.send_instructeur_email_notification
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue