Bob Billson wrote:
>
> On Sat, Sep 22, 2001 at 10:45:40AM -0500, Donald R. Spoon wrote:
> > A time server program (ntpdate or ntp) will try to synch both of these
> > clocks if it can.
>
> Another program is chrony. It is intended for machines that have
> intermittant connections to the Internet, e.g. home dial-up machines. ntp
> is more for machines having a constant Net connection. ntp will work with
> intermittant connection, too. chrony tries to keep track of clock drift
> when offline and compensate. chrony doesn't have all the other features
> of ntp, but it works great for its intended use.
>
> My only "gripe" is that chrony and ntpdate conflict. ntpdate is handy for
> setting your clock if it way off. Then either ntp or chrony keeps in in
> sync.
I like to use "netdate" and put it in a cron script to run every hour or
half hour or so. With some clever scripting, (essentially echoing the
"date" before and after execution to a log file) it can actually be
useful as an indication in your logs about network/internet-connection
problems.
-Patrick