change execution time cron

This commit is contained in:
2024-04-12 19:17:09 +02:00
parent 29b41eba2f
commit 932d935de2

View File

@@ -7,7 +7,7 @@ class InitTaskSync(CronJobBase):
RUN_AT_TIMES = ['07:00', '19:00']
RUN_EVERY_MIN = 1
schedule = Schedule(run_every_mins=RUN_EVERY_MIN,)
schedule = Schedule(run_at_times=RUN_AT_TIMES,)
code = 'reskreen.init_sync_task' # Un code unique pour votre tâche cron
def do(self):