Originally posted by: SystemAdmin
Have a more simple way to do this.
First you need resolve the diference between time machines
-
ntpdate ipPDCserver
add a line to the /etc/ntp.conf
server ipPDCserver
#smit xntpd -> start service ande select BOTH to start now and boot
now you can way for 10 min before do anithing
after 10 min execute the folwing commands to check if its work;
-
ntpq -p
-
ntptrace
if you receive a list of ip and name server of NTP, cool its work so well..
Now your machine is alway sync with NTP server, and don´t want any line to cron.