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