discourse/app/jobs/scheduled/destroy_old_deletion_stubs.rb

11 lines
216 B
Ruby
Raw Normal View History

module Jobs
# various consistency checks
2013-08-07 13:25:05 -04:00
class DestroyOldDeletionStubs < Jobs::Scheduled
recurrence { hourly.minute_of_hour(0, 30) }
def execute(args)
PostDestroyer.destroy_stubs
end
end
end