change execution time cron
This commit is contained in:
@@ -7,7 +7,7 @@ class InitTaskSync(CronJobBase):
|
|||||||
RUN_AT_TIMES = ['07:00', '19:00']
|
RUN_AT_TIMES = ['07:00', '19:00']
|
||||||
RUN_EVERY_MIN = 1
|
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
|
code = 'reskreen.init_sync_task' # Un code unique pour votre tâche cron
|
||||||
|
|
||||||
def do(self):
|
def do(self):
|
||||||
|
Reference in New Issue
Block a user