[CentOS] System on time

Niki Kovacs

contact at kikinovak.net
Fri Nov 9 14:00:10 UTC 2007


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?

Niki Kovacs



More information about the CentOS mailing list