discourse/app/jobs/scheduled/destroy_old_deletion_stubs.rb

13 lines
222 B
Ruby

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