#4807 separate job
This commit is contained in:
parent
8ff34780d1
commit
a4ba48fbce
2 changed files with 8 additions and 0 deletions
|
@ -79,6 +79,7 @@ En local, un utilisateur de test est créé automatiquement, avec les identifian
|
|||
OperationsSignatureJob.set(cron: "0 6 * * *").perform_later
|
||||
ExpiredDossiersDeletionJob.set(cron: "0 7 * * *").perform_later
|
||||
PurgeStaleExportsJob.set(cron: "*/5 * * * *").perform_later
|
||||
NotifyDraftNotSubmittedJob.set(cron: "0 7 * * *").perform_later
|
||||
|
||||
### Voir les emails envoyés en local
|
||||
|
||||
|
|
7
app/jobs/notify_draft_not_submitted_job.rb
Normal file
7
app/jobs/notify_draft_not_submitted_job.rb
Normal file
|
@ -0,0 +1,7 @@
|
|||
class NotifyDraftNotSubmittedJob < ApplicationJob
|
||||
queue_as :cron
|
||||
|
||||
def perform(*args)
|
||||
Dossier.notify_draft_not_submitted
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue