class ExpiredDossiersDeletionJob < CronJob
  self.schedule_expression = "every day at 7 am"

  def perform(*args)
    ExpiredDossiersDeletionService.process_expired_dossiers_brouillon
  end
end

class ExpiredDossiersDeletionJob < CronJob
  self.schedule_expression = "every day at 7 am"

  def perform(*args)
    ExpiredDossiersDeletionService.process_expired_dossiers_brouillon
    ExpiredDossiersDeletionService.process_expired_dossiers_en_construction
  end
end

Enable deletion of expired dossiers en_construction
Enable deletion of expired dossiers en_construction

fix #4977
