discourse/app/jobs/scheduled/category_stats.rb

13 lines
143 B
Ruby
Raw Normal View History

2013-02-05 14:16:51 -05:00
module Jobs
2013-08-07 13:25:05 -04:00
class CategoryStats < Jobs::Scheduled
every 24.hours
2013-02-05 14:16:51 -05:00
def execute(args)
Category.update_stats
end
end
end