demarches-normaliennes/app/jobs/cron/expired_dossiers_termine_deletion_job.rb

7 lines
215 B
Ruby

class Cron::ExpiredDossiersTermineDeletionJob < Cron::CronJob
self.schedule_expression = "every day at 7 am"
def perform(*args)
ExpiredDossiersDeletionService.new.process_expired_dossiers_termine
end
end