2013-02-05 14:16:51 -05:00
|
|
|
module Jobs
|
|
|
|
|
2013-08-07 13:25:05 -04:00
|
|
|
class CategoryStats < Jobs::Scheduled
|
2014-02-05 18:14:41 -05:00
|
|
|
every 4.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
|