The Tuesday 2005-05-24 at 20:07 +0200, Gerhard den Hollander wrote:
Rather than restarting xntp, would it be better simply to run ntpdate since xntp is a daemon.
No, because ntpdate hard sets the clock, whereas xntpd does it gradually.
Not exactly. It will go gradually if the error is less than .5 seconds.
From the doc (/usr/share/doc/packages/xntp-doc/html/ntpdate.html):
Time adjustments are made by ntpdate in one of two ways. If ntpdate determines the clock is in error more than 0.5 second it will simply step the time by calling the system settimeofday() routine. If the error is less than 0.5 seconds, it will slew the time by calling the system adjtime() routine. The latter technique is less disruptive and more accurate when the error is small, and works quite well when ntpdate is run by cron every hour or two. -- Cheers, Carlos Robinson