NTP config help

Jonathan S Billings jsbillin at umich.edu
Thu Feb 10 14:55:03 UTC 2011


On 02/10/2011 04:58 AM, 邓卫华 wrote:
> Hi, please run "crontab -e " in command line in client computer.
> then you should input the following line to sync from ntp server every 5
> minute.
>
> 0 5 * * * /usr/sbin/ntpdate 192.168.0.1(that is ntp server's
> ip address)

(I see that the issue was resolved already, I'm just commenting.)

This isn't going to work if you're running an NTPd on the clients, since 
the ntpd has bound to the port already.  It's also not suggested 
practice for NTP clients, and is probably why the `ntpdate' command is 
going away.  Better to let a ntpd daemon adjust the time than run it out 
of cron.


-- 
Jonathan Billings <jsbillin at umich.edu>
College of Engineering - CAEN - Unix and Linux Support




More information about the redhat-list mailing list