9 lines
191 B
Ruby
9 lines
191 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Cron::PurgeStaleTransfersJob < Cron::CronJob
|
|
self.schedule_expression = "every day at 00:00"
|
|
|
|
def perform
|
|
DossierTransfer.destroy_stale
|
|
end
|
|
end
|