2019-05-02 18:17:27 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2014-08-01 16:24:48 -04:00
|
|
|
module Jobs
|
2019-10-02 00:01:53 -04:00
|
|
|
class TopRefreshToday < ::Jobs::Scheduled
|
2014-08-01 16:24:48 -04:00
|
|
|
every 1.hour
|
|
|
|
|
|
|
|
def execute(args)
|
|
|
|
TopTopic.refresh_daily!
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|