How to automatically synchronize the time and date for several logic machines? - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: How to automatically synchronize the time and date for several logic machines? (/showthread.php?tid=4823) Pages:
1
2
|
RE: How to automatically synchronize the time and date for several logic machines? - admin - 23.06.2023 Have you restarted the Windows time service after changing the parameter? From the log it looks like the time is still rejected. Sync frequency is not a fixed time, check this: https://notes.networklessons.com/ntp-poll-interval RE: How to automatically synchronize the time and date for several logic machines? - richard7 - 24.06.2023 Dear Admin Yes, I restarted the Windows for 2 times after changing the parameter. Test run again today, still the same issue, No time adjustment happens automatically. Thanks for your efforts. Richard RE: How to automatically synchronize the time and date for several logic machines? - admin - 26.06.2023 Changing LocalClockDispersion to 0 works for me. Test script: Code: res = io.readproc('ntpd -ddd -nq -p 192.168.0.2 2>&1') Time is updated: Code: ntpd: sending query to 192.168.0.2 Since this is clearly not an LM issue there's nothing else that we can help with. RE: How to automatically synchronize the time and date for several logic machines? - richard7 - 26.06.2023 Dear admin, Yes!!! You are right. I replaced the old PC with SurfacePro, and set all parameters which mentioned above. Now, LM5 can automatically synchronize the time with SurfacePro. Excellent! Thanks a lot! Richard |