discourse/app/jobs/scheduled/category_stats.rb
Sam e1f293ad66 FEATURE: new scheduler
Removed sidetiq, introduced new scheduler

- add basic UI
- add schedule discover
- add scheduling in initializer
2014-02-06 10:26:16 +11:00

12 lines
142 B
Ruby

module Jobs
class CategoryStats < Jobs::Scheduled
every 4.hours
def execute(args)
Category.update_stats
end
end
end