Hi,
Thanks for your reply.
No, i found out the method below is more secure at every minute and if working, every 5 minuten.
But with the code below, the 5 minutes (task 3, 300 seconds) schedule isnt working
Thanks for your reply.
No, i found out the method below is more secure at every minute and if working, every 5 minuten.
But with the code below, the 5 minutes (task 3, 300 seconds) schedule isnt working
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()