Re: Sync system time with RTC



The Other Guy <tog@xxxxxxxxx> writes:

The use of ntpdate is redundant because the clock is correct when
the system boots. The host runs ntpd, as do the VMs that are
experiencing the problem.

Forcing the update using -b every minute would likely cause problems
as the clocks are out by hours each day. I.e. the chance of forcing
an update of >1 second in 60 is quite high, and would likely lead to
applications behaving in odd ways.

You may want to look at the -g and -x options for ntpd(8).

--
David Magda <dmagda at ee.ryerson.ca>
Because the innovator has for enemies all those who have done well under
the old conditions, and lukewarm defenders in those who may do well
under the new. -- Niccolo Machiavelli, _The Prince_, Chapter VI
.



Relevant Pages

  • Re: Sync system time with RTC
    ... The host runs ntpd, as do the VMs that are ... experiencing the problem. ... Forcing the update using -b every minute would likely cause problems ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Sync system time with RTC
    ... as do the VMs that are ... experiencing the problem. ... Forcing the update using -b every minute would likely cause problems ... Looks like running ntpdate constantly is going to be the only way to get fairly reliable time. ...
    (comp.unix.bsd.freebsd.misc)