[661] in linux-net channel archive
Re: Getting and setting time for client, how?
daemon@ATHENA.MIT.EDU (Neil Woods)
Thu Jul 13 07:26:41 1995
Date: Wed, 12 Jul 1995 13:53:40 +0100
From: Neil Woods <neil@stargate.acs.lamp.ac.uk>
To: linux-net@vger.rutgers.edu
In-Reply-To: Your message of Mon, 10 July 1995 10:39:00 PDT
<30016475@MSMAIL.INDY.TCE.COM>
Reply-to: linux-net@vger.rutgers.edu
Geis Jerry <GeisJ@rnd3.indy.tce.com> writes:
>
>Hi all,
> I am relatively new to networking and all and I'm wondering how to
>once a day set the time of day on a client by asking a server? Whats the
>best way to do this?
>
> I have found the HOWTO-NIS which was very nice, but this situation
>was not address in that howto.
>
> Thanks for any pointers...
>
>Jerry Geis
I have something similar to the following, in
/var/spool/cron/crontabs/root:
30 19 * * * /usr/sbin/netdate -v {ip-addresses} && /sbin/clock -w
where {ip-addresses} are a couple of servers running the network time
protocol, described in rfc868.
Neil.
--
==============================================================
neil@stargate.lamp.ac.uk :: http://stargate.lamp.ac.uk/~neil
==============================================================
If the Creator had said, "Let there be light" in Ankh-Morpork,
he'd have gotten no further because of all the people saying
"What colour?" -- (Terry Pratchett, Men At Arms)
==============================================================