f40d96fbd2
This reverts commit d9a588b52e
.
7 lines
152 B
Ruby
7 lines
152 B
Ruby
class Cron::PurgeStaleArchivesJob < Cron::CronJob
|
|
self.schedule_expression = "every 5 minutes"
|
|
|
|
def perform
|
|
Archive.stale.destroy_all
|
|
end
|
|
end
|