Re: Network Time

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Kurt Granroth
Date:  
To: plug-discuss
Subject: Re: Network Time
On Tuesday 23 November 2004 12:32 pm, AZ Pete wrote:
> I have a dev Linux box running Redhat 9 on my home LAN and I noticed that
> the clock has drifted and is now 10 minutes behind.
> Instead of simply resetting it, I'd like this box to sync with a time
> server. I was reading about ntpd, but this seems to be a way to set up a
> machine to be a time server, which is not what I want. It also looks to be
> way more work than I want to get into.
>
> What is the best way to simply sync with a time server once per day. Is
> there a program I can run in a cron job?


I used to have the same aversion to using the ntpd package as you and instead
just put 'ntpdate' into a cron job. After reading more about NTP, though, I
switched over to using the main package.

Basically, installing ntpd is a Good Idea because it will keep your time up
to date constantly and gradually. That is, ntpdate will cause your system
to abruptly jerk to a certain time and that's not always good for things
that depend on timestamps and the like. The ntpd package will gradually
change the time to be the correct one.

And you don't *have* to use ntpd as a server. I've installed in on many a
system yet have only used it as a server on a few.

> Also, what time servers are best to use. The only one listed in my
> ntp.conf is clock.redhat.com. Not that I don't like Redhat, I just would
> like a couple more.


pool.ntp.org should be good.

Kurt
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss