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):