🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ti.explorer
Article #160

Re: time-service

#160
From: Jamie Zawinski
Date: Sat, 02 Dec 1989 01:32
25 lines
1506 bytes
> can anyone tell me how to get TIME-SERVICE from a Unix box? in particular, a
> Convex or a Silly Graphics. time on the Exploder is still losing a minute/day,
> and occasionally in the lab it really gets doodled up. I did get all the 
> machines sync'd on a daily basis, but that only means that they're all wrong by
> the same amount.
> 
> I'd like to have them match other machines, and would use our VAX if it's TCP
> included time-service (but, hey! it doesn't include print-service, so why 
> expect time-service?)
> 
>  -- clint

I think that if the machine you want to get the time from has 
(:TIME :UDP :TIME-SIMPLE-MSB) on its services list, and if it is first
on the :PRIMARY-TIME-SERVERS site option, everything should work out.
If you want to make sure that a host *really* provides a time service,
then call the function NET:HOST-TIME with the host you want to test.
If this returns a UT, then you're in business.  If it returns "Host Not
Responding" then you have to add this to /etc/rc.local:

if [ -f /etc/timed ]; then
	/etc/timed & 		echo -n ' timed'	>/dev/console
fi

		-- Jamie
Technical Details
Message-ID: <20198@pasteur.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!usc!apple!genbank!ames!pasteur!jwz@teak.berkeley.edu

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!usc!apple!genbank!ames!pasteur!jwz@teak.berkeley.edu
From: jwz@teak.berkeley.edu (Jamie Zawinski)
Newsgroups: comp.sys.ti.explorer
Subject: Re: time-service
Message-ID: <20198@pasteur.Berkeley.EDU>
Date: 2 Dec 89 01:32:42 GMT
Sender: news@pasteur.Berkeley.EDU
Lines: 25
In-reply-to: <8912011903.AA20388@ti.com>