home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / next / sysadmin / 7244 < prev    next >
Encoding:
Internet Message Format  |  1992-12-29  |  1.5 KB

  1. Path: sparky!uunet!noc.near.net!transfer.stratus.com!transfer.stratus.com!usenet
  2. From: dan@quiensabe.az.stratus.com (Dan Danz)
  3. Newsgroups: comp.sys.next.sysadmin
  4. Subject: Re: question about ntp
  5. Date: 30 Dec 1992 03:47:30 GMT
  6. Organization: Stratus Computer Inc, Marlboro MA
  7. Lines: 24
  8. Message-ID: <1hr64iINNmq7@transfer.stratus.com>
  9. References: <Dec22.220905.41998@yuma.ACNS.ColoState.EDU>
  10. Reply-To: dan@az.stratus.com
  11. NNTP-Posting-Host: quiensabe.az.stratus.com
  12.  
  13. Operator writes
  14. > I want to know if there is an easy way to add a line to the crontab
  15. > file so that at (say) 2am every night, my machine (at home) slips into
  16. > the local network, and resets the system clock... I want to do
  17. > this because the clock slips badly here (I don't know about other places)
  18.  
  19. From the /usr/adm/daily file for my home system:
  20.  
  21. # synchronize the time with time server in the office
  22. /usr/ucb/logger -p local3.info -t daily Beginning
  23. /usr/dialupip/bin/duioctl slip0 bringup
  24. sleep 60
  25. /usr/etc/ntp -s timehost
  26.  
  27. For the uninitiated, you can't just run the ntp daemon on your local machine
  28. because it will forever be bringing up the dialup SLIP line.   So you have to  
  29. put up with some inaccuracy.
  30.  
  31. --
  32. L. W. "Dan" Danz         (WA5SKM) VOS Mail:  Dan_Danz@vos.stratus.com
  33. Sr Consulting Software SE         NeXT Mail: dan@az.stratus.com
  34. Customer Assistance Center        Voice Mail/Pager: (602) 852-3107
  35. Telecommunications Division       Customer Service: (800) 828-8513
  36. Stratus Computer, Inc. 4455 E. Camelback #115-A, Phoenix AZ 85018
  37.