Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jul 2003 14:35:18 -0500
From:      David Kelly <dkelly@HiWAAY.net>
To:        FreeBSD-Questions@FreeBSD.org
Subject:   Re: automatically adjusting time
Message-ID:  <200307171435.18320.dkelly@HiWAAY.net>
In-Reply-To: <200307171328.51765.brian@quynh-and-brian.org>
References:  <200307171709.h6HH947J008589@mail5.mx.voyager.net> <200307171328.51765.brian@quynh-and-brian.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 17 July 2003 12:28 pm, Brian Skrab wrote:
> Have a look at Chapter 19.11 (NTP) in the FreeBSD Handbook.
>
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ntp
>.html
>
> I don't recall if the handbook mentions this, but you can schedule
> ntpdate to run periodically via a crontab entry, in addition to
> running at startup.

But why would one want to when ntpd is so easy to use and has the 
advantage of tuning the kernel's clock for even more accurate time 
keeping?

Put this in your /etc/ntp.conf to save ntp's kernel PLL tweaks between 
reboots:

# Write clock drift parameters to a file.  This will allow your system
# clock to quickly sychronize to the true time on restart.
driftfile /etc/ntp.drift

-- 
David Kelly N4HHE, dkelly@hiwaay.net
=====================================================================
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307171435.18320.dkelly>