From 932d935de289cda655dbb3c4ca6b1a00d5f1cbee Mon Sep 17 00:00:00 2001 From: Kirosbr Date: Fri, 12 Apr 2024 19:17:09 +0200 Subject: [PATCH] change execution time cron --- mycaldav/cron.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mycaldav/cron.py b/mycaldav/cron.py index 84b3988..89a7351 100644 --- a/mycaldav/cron.py +++ b/mycaldav/cron.py @@ -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):