Fix UpdateAdministrateurUsageStatisticsJob not being properly scheduled
This commit is contained in:
parent
e7b868c16f
commit
3fee1c7644
2 changed files with 3 additions and 1 deletions
|
@ -64,7 +64,7 @@ En local, un utilisateur de test est créé automatiquement, avec les identifian
|
|||
AutoArchiveProcedureJob.set(cron: "* * * * *").perform_later
|
||||
WeeklyOverviewJob.set(cron: "0 7 * * 1").perform_later
|
||||
AutoReceiveDossiersForProcedureJob.set(cron: "* * * * *").perform_later(procedure_declaratoire_id, Dossier.states.fetch(:en_instruction))
|
||||
SendinblueUpdateAdministrateursJob.set(cron: "0 10 * * *").perform_later
|
||||
UpdateAdministrateurUsageStatisticsJob.set(cron: "0 10 * * *").perform_later
|
||||
FindDubiousProceduresJob.set(cron: "0 0 * * *").perform_later
|
||||
Administrateurs::ActivateBeforeExpirationJob.set(cron: "0 8 * * *").perform_later
|
||||
WarnExpiringDossiersJob.set(cron: "0 0 1 * *").perform_later
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
class UpdateAdministrateurUsageStatisticsJob < ApplicationJob
|
||||
queue_as :cron
|
||||
|
||||
def perform
|
||||
AdministrateurUsageStatisticsService.new.update_administrateurs
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue