2020-03-28 16:49:40 +01:00
|
|
|
class ExpiredDossiersDeletionJob < CronJob
|
|
|
|
self.cron_expression = "0 7 * * *"
|
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-02-26 17:44:06 +01:00
|
|
|
end
|
|
|
|
end
|