On Sep 16, 2010, at 2:59 PM, Daniel Havey wrote:
> I want ntpdate, and don't really care about ntpd.  I need an ntp server 
> running on one node, and the other nodes connect to the first node with 
> ntpdate like this:
> 
> #!/bin/bash
> SERVER=ntpserver1
> RATE=5
> while [ 1 ];
> do
> ntpdate -b $SERVER
> ntpdate -b $SERVER
> ntpdate -b $SERVER
> sleep $RATE
> done
> 
> So I think what I would like to do is install an NTP server on one node, 
> verify that it works ;^) and have the others keep in synch with the script.


At some point, perhaps, you will figure out that invoking "ntpdate -b" three 
times in a row in a script running every five seconds is not sensible.  In the 
meantime, please make sure you don't configure such a script to point to anyone 
else's NTP servers....

Regards,
-- 
-Chuck

_______________________________________________
questions mailing list
[email protected]
http://lists.ntp.org/listinfo/questions

Reply via email to