ntp server - anyone done it?

Scott plug-discuss@lists.plug.phoenix.az.us
Mon, 3 Feb 2003 17:24:09 -0700 (MST)


Here is the script that I use nightly.

#!/bin/sh
echo "Current date and time: `date`"
timehosts=ntp2.usno.navy.mil
if /usr/sbin/ntpdate -ub $timehosts > /dev/null; then
/sbin/hwclock --systohc
echo "Updated date and time: `date`"
fi


On Sun, 2 Feb 2003, mazdaracer wrote:

> I'd like to sync my PC's to at least one of my boxes on our local
> network. In order to keep track, I was thinking of setting up my main
> box to run a montly cron job to get the time from a stratum 2 server.
> Does this sound like a reasonable thing to do? How have some of the
> other list members done it?
> 
> pete
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> 

-- 
NT makes anything simple, easy, and anything difficult to do, impossible.
Unix makes anything easy to do difficult, and anything difficult to do,
possible.  Basically, if your VCR is still flashing "12:00" then unix is not
for you!