2019-05-02 18:17:27 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2013-02-05 14:16:51 -05:00
|
|
|
module Jobs
|
|
|
|
|
2013-08-07 13:25:05 -04:00
|
|
|
class CategoryStats < Jobs::Scheduled
|
2014-08-10 19:41:50 -04:00
|
|
|
every 24.hours
|
2013-02-05 14:16:51 -05:00
|
|
|
|
|
|
|
def execute(args)
|
|
|
|
Category.update_stats
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
|
2014-02-05 18:14:41 -05:00
|
|
|
end
|