2019-05-03 06:17:27 +08:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2014-08-02 04:24:48 +08:00
|
|
|
module Jobs
|
2019-10-02 12:01:53 +08:00
|
|
|
class TopRefreshOlder < ::Jobs::Scheduled
|
2014-08-02 04:24:48 +08:00
|
|
|
every 1.day
|
|
|
|
|
|
|
|
def execute(args)
|
|
|
|
TopTopic.refresh_older!
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|