discourse/lib/jobs/destroy_old_deletion_stubs.rb
2013-08-14 21:39:40 +02:00

11 lines
216 B
Ruby

module Jobs
# various consistency checks
class DestroyOldDeletionStubs < Jobs::Scheduled
recurrence { hourly.minute_of_hour(0, 30) }
def execute(args)
PostDestroyer.destroy_stubs
end
end
end