[CentOS] NTP

Walt Reed wreed at vinq.com
Tue Apr 3 13:11:25 UTC 2007


On Mon, Apr 02, 2007 at 11:34:44PM +0200, mouss said:
> Steve Huff wrote:
> >don't run 'ntpdate' from a cron job; that defeats the whole purpose of 
> >running ntpd.
> 
> and this won't work if ntpd is running ("socket already in use" or 
> something similar).

This is what the -u parameter is for. See the man page. But yes -
running ntpdate when you are also running ntpd is silly. 

ntpdate is useful in system startup to force the clock right before ntpd
starts in case your bios clock is wrong. I use it in kickstart and then
set the bios clock right after.



More information about the CentOS mailing list