2020-11-13 14:34:53 +01:00
|
|
|
class Cron::UpdateAdministrateurUsageStatisticsJob < Cron::CronJob
|
2020-04-01 15:26:46 +02:00
|
|
|
self.schedule_expression = "every day at 10 am"
|
2019-07-01 11:14:26 +02:00
|
|
|
|
2019-03-07 17:34:42 +01:00
|
|
|
def perform
|
|
|
|
AdministrateurUsageStatisticsService.new.update_administrateurs
|
|
|
|
end
|
|
|
|
end
|