class Cron::PurgeStaleTransfersJob < Cron::CronJob self.schedule_expression = "every day at 00:00" def perform DossierTransfer.destroy_stale end end