demarches-normaliennes/app/jobs/update_administrateur_usage_statistics_job.rb
2020-03-31 12:25:46 +02:00

7 lines
186 B
Ruby

class UpdateAdministrateurUsageStatisticsJob < CronJob
self.cron_expression = "0 10 * * *"
def perform
AdministrateurUsageStatisticsService.new.update_administrateurs
end
end