ffa8c0c80a
feature flag "procedure_process_expired_dossiers_termine" controls if a procedure has expiration enabled on dossiers termine re #3796
9 lines
350 B
Ruby
9 lines
350 B
Ruby
class Cron::ExpiredDossiersDeletionJob < Cron::CronJob
|
|
self.schedule_expression = "every day at 7 am"
|
|
|
|
def perform(*args)
|
|
ExpiredDossiersDeletionService.process_expired_dossiers_brouillon
|
|
ExpiredDossiersDeletionService.process_expired_dossiers_en_construction
|
|
ExpiredDossiersDeletionService.process_expired_dossiers_termine
|
|
end
|
|
end
|