2023-06-23 14:21:00 +02:00
|
|
|
class Cron::ExpiredDossiersBrouillonDeletionJob < Cron::CronJob
|
2023-11-07 07:26:29 +01:00
|
|
|
self.schedule_expression = Expired.schedule_at(self)
|
2023-06-23 14:21:00 +02:00
|
|
|
|
|
|
|
def perform(*args)
|
2023-11-07 07:24:57 +01:00
|
|
|
Expired::DossiersDeletionService.new.process_expired_dossiers_brouillon
|
2023-06-23 14:21:00 +02:00
|
|
|
end
|
|
|
|
end
|