[fix #1449] Notification: add job
This commit is contained in:
parent
6607de4827
commit
9b4d9dc26c
2 changed files with 8 additions and 0 deletions
7
app/jobs/gestionnaire_email_notification_job.rb
Normal file
7
app/jobs/gestionnaire_email_notification_job.rb
Normal file
|
@ -0,0 +1,7 @@
|
|||
class GestionnaireEmailNotificationJob < ApplicationJob
|
||||
queue_as :cron
|
||||
|
||||
def perform(*args)
|
||||
NotificationService.send_gestionnaire_email_notification
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue