discourse/app/jobs/scheduled/destroy_old_deletion_stubs.rb

11 lines
189 B
Ruby

module Jobs
# various consistency checks
class DestroyOldDeletionStubs < Jobs::Scheduled
every 30.minutes
def execute(args)
PostDestroyer.destroy_stubs
end
end
end