7 lines
129 B
Ruby
7 lines
129 B
Ruby
class UpdateStatsJob < CronJob
|
|
self.schedule_expression = "every 1 hour"
|
|
|
|
def perform(*args)
|
|
Stat.update_stats
|
|
end
|
|
end
|