demarches-normaliennes/app/jobs/expired_dossiers_deletion_job.rb
2020-03-31 12:25:46 +02:00

7 lines
182 B
Ruby

class ExpiredDossiersDeletionJob < CronJob
self.cron_expression = "0 7 * * *"
def perform(*args)
ExpiredDossiersDeletionService.process_expired_dossiers_brouillon
end
end