discourse/app/jobs/scheduled/category_stats.rb
Sam f0a122a66c move job files so they live underneath app/ and not in lib/
introduce new setting email_always, that will force emails to send to users regardless of presence on site
2013-10-01 17:04:02 +10:00

12 lines
No EOL
163 B
Ruby

module Jobs
class CategoryStats < Jobs::Scheduled
recurrence { daily.hour_of_day(4) }
def execute(args)
Category.update_stats
end
end
end