demarches-normaliennes/app/jobs/update_administrateur_usage_statistics_job.rb

8 lines
198 B
Ruby
Raw Normal View History

2020-03-28 16:49:40 +01:00
class UpdateAdministrateurUsageStatisticsJob < CronJob
self.schedule_expression = "every day at 10 am"
def perform
AdministrateurUsageStatisticsService.new.update_administrateurs
end
end