[vox-tech] rdate servers and apt-get for redhat

Eric Nelson vox-tech@lists.lugod.org
Sun, 15 Dec 2002 17:17:30 -0800


Here is what I use in crontab:
59 * * * * /usr/sbin/ntpdate ntp-dec.usno.navy.mil >> /dev/null

On Sunday 15 December 2002 10:54, Henry House wrote:
> On Sun, Dec 15, 2002 at 10:49:57AM -0800, Rod Roark wrote:
> > On Sunday 15 December 2002 10:09 am, Henry House wrote:
> > > One more suggestion: try ntpdate, a daemonless version of NTP.
> > > It will not abruptly change the system time like rdate if the
> > > local clock is off by a large amount...
> >
> > Don't you mean a small amount?  From
> > http://www.eecis.udel.edu/~ntp/ntp_spool/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.
>
> Er, yes. Thanks.