demarches-normaliennes/app/jobs/update_administrateur_usage_statistics_job.rb

8 lines
186 B
Ruby
Raw Normal View History

2020-03-28 16:49:40 +01:00
class UpdateAdministrateurUsageStatisticsJob < CronJob
self.cron_expression = "0 10 * * *"
def perform
AdministrateurUsageStatisticsService.new.update_administrateurs
end
end