Ne fait la sync task_config que si 1h du matin
This commit is contained in:
@@ -121,7 +121,7 @@ class cls_caldav_client():
|
||||
self.a_task = self.data.calendar(name="Tâche")
|
||||
|
||||
|
||||
if datetime.today().day == 29:
|
||||
if datetime.today().day == 1 and datetime.today().hour == 1:
|
||||
try:
|
||||
with open(os.path.join("mycaldav", "last_sync_config.bin"), "rb") as file:
|
||||
array = pickle.load(file)
|
||||
|
Reference in New Issue
Block a user