mirror of
https://github.com/discourse/discourse.git
synced 2025-02-08 10:51:45 +08:00
![Sam](/assets/img/avatar_default.png)
introduce new setting email_always, that will force emails to send to users regardless of presence on site
12 lines
163 B
Ruby
12 lines
163 B
Ruby
module Jobs
|
|
|
|
class CategoryStats < Jobs::Scheduled
|
|
recurrence { daily.hour_of_day(4) }
|
|
|
|
def execute(args)
|
|
Category.update_stats
|
|
end
|
|
|
|
end
|
|
|
|
end |