[CentOS] System on time
hyclak at math.ohiou.edu
Fri Nov 9 14:03:08 UTC 2007
On Fri, Nov 09, 2007 at 03:00:10PM +0100, Niki Kovacs enlightened us:
> 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
> I wonder if this is an orthodox way to do things. Or is there something
> more appropriate?
chkconfig ntpd on
will cause ntpd to sync and start the ntp daemon every boot.
service ntpd start
will start the daemon right now.
Department of Mathematics
Department of Social Work
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://lists.centos.org/pipermail/centos/attachments/20071109/e13c8b54/attachment.bin
More information about the CentOS