demarches-normaliennes/app/jobs/expired_dossiers_deletion_job.rb

8 lines
182 B
Ruby
Raw Normal View History

2020-03-28 16:49:40 +01:00
class ExpiredDossiersDeletionJob < CronJob
self.cron_expression = "0 7 * * *"
def perform(*args)
2020-03-20 22:28:52 +01:00
ExpiredDossiersDeletionService.process_expired_dossiers_brouillon
end
end