discourse/app/jobs/scheduled/clean_up_search_logs.rb

10 lines
139 B
Ruby
Raw Normal View History

2017-07-14 14:29:31 -04:00
module Jobs
class CleanUpSearchLogs < Jobs::Scheduled
every 1.week
def execute(args)
SearchLog.clean_up
end
end
end