mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 01:24:34 +08:00
10 lines
139 B
Ruby
10 lines
139 B
Ruby
|
module Jobs
|
||
|
class CleanUpSearchLogs < Jobs::Scheduled
|
||
|
every 1.week
|
||
|
|
||
|
def execute(args)
|
||
|
SearchLog.clean_up
|
||
|
end
|
||
|
end
|
||
|
end
|