Re: System on time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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 
> rc.local.
> 
> 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.


Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263

Attachment: pgpiEwkiuXL60.pgp
Description: PGP signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux