Hello,
I have installed the NTP package. I am looking for a way to force the NTP client to update every 10 minutes via a script. Anyone know how to accomplish this?
The problem is that mine is drifting too much for some reason, I need to manually update it via scheduler.Hey
ntp client will determine on it's own how frequently it should poll the upstream server for time update. Usually it starts at 64s and backs down down to 1024s, once clocks are in sync and drift is under control.
The problem is that mine is drifting too much for some reason, I need to manually update it via scheduler.Hey
ntp client will determine on it's own how frequently it should poll the upstream server for time update. Usually it starts at 64s and backs down down to 1024s, once clocks are in sync and drift is under control.
I set this up. Will see how it helps. Thanks!The NTP client does not store the DNS name, but converts it to the IP and stores that (in Winbox). So each time you enter a name (e.g. pool.ntp.org), it will populate with new IPs from the pool. When it does that, I believe it re-synchronizes. So just write a script to repopulate those values.
:local ntpServer "3.us.pool.ntp.org"
:local primary [resolve $ntpServer]
/system ntp client set primary-ntp $primary