[ntp:questions] Automatic time synchronization of local hw clock.
unruh at invalid.ca
Wed Apr 16 17:00:30 UTC 2014
On 2014-04-16, David Taylor <david-taylor at blueyonder.co.uk.invalid> wrote:
> On 16/04/2014 14:50, Martin Burnicki wrote:
>> However, when the NTP service is shut down then it stops disciplining
>> the system time anyway and thus calls the Windows API which sets the
>> time with the current time as new time. This should force Windows to
>> update the time in the RTC chip.
> I understood that it was when Windows shut down that NTP set the RTC
> chip, not when the service was shut down. I've not looked at the code
> (I wouldn't know where to start) to confirm this one way or the other,
I do not believe that ntp ever considers it its job to write the rtc.
Under linux, it sets the sync bit, and the kernel writes the RTC every
11 min. But I admit i do not know what the windows version does.
More information about the questions