Time Syncing

Guy Martin guy at library.calpoly.edu
Mon Mar 11 10:18:10 AEST 1991


I have a problem I am hoping someone out there can give me some help on.
I am trying to sync our system time (Symmetry 27) with another local
host.  I have tried using a shell script I wrote that simply telnets
to the said host's telnet port 13 to return their time stamp.  This
works fine when I run it as root from a terminal.  However, cron
spits it out as telnet requires a controlling tty to be present to
execute correctly.

I have also tried using ntpd (from gatekeeper.dec.com), but due to
an older version of Dynix, we don't have 'adjtime', which ntpd
requires to adjust the time.  Also, we don't have some mundane
little things like getopt and the like.  

So, my question is : "what other alternatives do I have?".  Is there 
something that I am overlooking?  Thanks in advance.

	-Guy
-- 
Guy Martin -- UNIX Systems Support         | Internet: guy at library.calpoly.edu
Robert E. Kennedy Library, Cal Poly SLO    | UUCP: voder!polyslo!library!guy
----------------------------- Standard Disclaimer -----------------------------
  My opinions are my own!  They do not reflect those of the Kennedy Library.



More information about the Comp.unix.questions mailing list