9 lines
254 B
Ruby
9 lines
254 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Cron::ExpiredDossiersTermineDeletionJob < Cron::CronJob
|
|
self.schedule_expression = Expired.schedule_at(self)
|
|
|
|
def perform(*args)
|
|
Expired::DossiersDeletionService.new.process_expired_dossiers_termine
|
|
end
|
|
end
|