tech(perf): reschedule this job at 4am when our workers does not do anything

This commit is contained in:
mfo 2024-10-10 11:05:40 +02:00
parent fc37bbaa4a
commit d729c2f193
No known key found for this signature in database
GPG key ID: 7CE3E1F5B794A8EC

View file

@ -1,7 +1,7 @@
# frozen_string_literal: true # frozen_string_literal: true
class Cron::DossierOperationLogMoveToColdStorageJob < Cron::CronJob class Cron::DossierOperationLogMoveToColdStorageJob < Cron::CronJob
self.schedule_expression = "every day at 10:00" self.schedule_expression = "every day at 23:00"
def perform def perform
DossierOperationLog DossierOperationLog