home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / protocol / time / ntp / 868 < prev    next >
Encoding:
Text File  |  1992-09-08  |  869 b   |  28 lines

  1. Newsgroups: comp.protocols.time.ntp
  2. Path: sparky!uunet!gumby!wupost!psuvax1!postscript.cs.psu.edu!fenner
  3. From: fenner@postscript.cs.psu.edu (Bill Fenner)
  4. Subject: Re: Setting the time when the system boots
  5. Message-ID: <Bu611o.J1A@cs.psu.edu>
  6. Sender: news@cs.psu.edu (Usenet)
  7. Nntp-Posting-Host: postscript.cs.psu.edu
  8. Organization: Penn State Computer Science
  9. References: <chicken.715535488@npac.syr.edu> <1992Sep5.195717.13976@udel.edu>
  10. Date: Sun, 6 Sep 1992 16:41:47 GMT
  11. Lines: 15
  12.  
  13. In article <1992Sep5.195717.13976@udel.edu> stewart@ra.cis.udel.edu (John Stewart) writes:
  14. |    if [ -f /usr/local/bin/ntpdate ]; then
  15. |        /usr/local/bin/ntpdate time_server
  16. |    fi
  17.  
  18. This is what I do:
  19.  
  20.     if [ -f /etc/hosts.ntpdate ]; then
  21.         /usr/local/bin/ntpdate `cat /etc/hosts.ntpdate`
  22.     fi
  23.  
  24. That way, I can ntpdate to multiple machines in case the one I just happen
  25. to pick is down.
  26.  
  27.   Bill
  28.