*BSD News Article 71853


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!cs.mu.OZ.AU!munnari.OZ.AU!news.ecn.uoknor.edu!news.cis.okstate.edu!newsfeed.ksu.ksu.edu!news.physics.uiowa.edu!math.ohio-state.edu!howland.reston.ans.net!gatech!news.mathworks.com!uunet!in1.uu.net!winternet.com!news
From: jdb@robigo.winternet.com (John Boggs)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: What is the secret to getting ntpdate to automatically fix system time?
Date: 23 Jun 1996 09:08:55 -0500
Organization: No Mildew
Lines: 23
Sender: jdb@robigo.winternet.com
Message-ID: <877msytxxk.fsf@robigo.winternet.com>
References: <4p9vcr$44u@uhura.phoenix.net> <4q9dl9$phm@uhura.phoenix.net>
NNTP-Posting-Host: robigo.winternet.com
In-reply-to: vccubed@phoenix.net's message of Wed, 19 Jun 1996 17:33:27 GMT
X-Newsreader: Gnus v5.1

In article <4q9dl9$phm@uhura.phoenix.net> vccubed@phoenix.net (Keith Veseleny) writes:


   I have setup ntpdate="apple.com" in my sysconfig file, however, it
   doesn't appear to update the machines time and this bios loses almost
   10 minutes a day.  Do I need to perform a cron job or some other task
   to get this to work?

That's exactly it.  If you read the ntpdate man page you'll see that
it says:

       ...
                                       Typically,  ntpdate can be
       inserted in the /etc/rc.local startup up script to set the
       time   of  day  at  boot  time  and/or  can  be  run  from
       time-to-time via cron(8).  Note that ntpdate's reliability
       ...
The man page mentions cron 3 other times.
-- 

John D. Boggs            \ The great thing about human language is
jdb@robigo.winternet.com  \   that it prevents us from sticking to
                           \    the matter at hand.  -Lewis Thomas