discourse/app/jobs/scheduled/clean_up_search_logs.rb

12 lines
172 B
Ruby

# frozen_string_literal: true
module Jobs
class CleanUpSearchLogs < ::Jobs::Scheduled
every 1.week
def execute(args)
SearchLog.clean_up
end
end
end