2020-03-28 16:49:40 +01:00
|
|
|
class ExpiredDossiersDeletionJob < CronJob
|
2020-04-01 15:26:46 +02:00
|
|
|
self.schedule_expression = "every day at 7 am"
|
2020-02-26 17:44:06 +01:00
|
|
|
|
|
|
|
def perform(*args)
|
2020-03-20 22:28:52 +01:00
|
|
|
ExpiredDossiersDeletionService.process_expired_dossiers_brouillon
|
2020-03-31 18:05:46 +02:00
|
|
|
ExpiredDossiersDeletionService.process_expired_dossiers_en_construction
|
2020-02-26 17:44:06 +01:00
|
|
|
end
|
|
|
|
end
|