[CentOS] System on time

Ross S. W. Walker rwalker at medallion.com
Fri Nov 9 15:11:40 UTC 2007

Niki Kovacs wrote:
> Hi,
> To get my system on time, I usually issue these two commands:
> # ntpdate de.pool.ntp.org
> # hwclock -w
> And when I want this to be done on startup, I put the two lines in 
> rc.local.
> I wonder if this is an orthodox way to do things. Or is there 
> something 
> more appropriate?

Choose a couple publically available time servers, I believe a link
was posted on this thread, and set them in /etc/ntp.conf.

I suppose with 'hwclock -w' that your bios clock is set to localtime
and your system dual boots? If that is the case then set UTC=false
in /etc/sysconfig/clock.


This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

More information about the CentOS mailing list