Mar-30-2020, 04:28 PM
Hi,
I managed to get it partially working.
Task 1 and 2 are updating fine, but task 3(with other time.sleep) doesnt do anything.
This is the code regarding the Scheduler .
I managed to get it partially working.
Task 1 and 2 are updating fine, but task 3(with other time.sleep) doesnt do anything.
This is the code regarding the Scheduler .
while True: try: task1() task2() time.sleep(60 - time.time() % 60) refresh() task3() time.sleep(300 - time.time() % 300) refresh() except: pass time.sleep(1) else: time.sleep(60) refresh()