mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-24 22:42:27 -05:00
e1f293ad66
Removed sidetiq, introduced new scheduler - add basic UI - add schedule discover - add scheduling in initializer
12 lines
142 B
Ruby
12 lines
142 B
Ruby
module Jobs
|
|
|
|
class CategoryStats < Jobs::Scheduled
|
|
every 4.hours
|
|
|
|
def execute(args)
|
|
Category.update_stats
|
|
end
|
|
|
|
end
|
|
|
|
end
|