demarches-normaliennes/app/jobs/cron/expired_dossiers_brouillon_deletion_job.rb
2024-08-22 09:26:48 +02:00

9 lines
258 B
Ruby

# frozen_string_literal: true
class Cron::ExpiredDossiersBrouillonDeletionJob < Cron::CronJob
self.schedule_expression = Expired.schedule_at(self)
def perform(*args)
Expired::DossiersDeletionService.new.process_expired_dossiers_brouillon
end
end