ok - I think I got it. So simple - added time.sleep(100) to startup and added a test counter in shutdown that tests if it is in fact time to shut down. If not loop through main code (which updates time). If you don't hear from me again - it worked! Thanks again.
That's a bit of a hack and won't cover all cases. What if timesync takes longer than 100 seconds or never happens at all? It'll shutdown at that point.
Statistics: Posted by thagrol — Fri Aug 02, 2024 4:47 pm