Correcting computer time using ntpdate & ntp

Eric Dunbar eric.dunbar at gmail.com
Sat May 7 21:29:42 MDT 2005


On 5/7/05, Geoffrey S. Mendelson <gsm at mendelson.com> wrote:
> On Sat, May 07, 2005 at 02:23:21PM -0400, Eric Dunbar wrote:
> > Should ntpd -q be run as a cron job? Seems a little strange for a
> > daemon to run as a cron job.
> >
> > Anyone have experience with ntpd?
> 
> Yes, I don't have a YD system up at the moment, but it worked fine under
> 3.0.
> 
> This is the file that I use on my main time server in /etc/ntp.conf (it's
> an old redhat machine, check the name.)
> 
>         server  ntp.netvision.net.il
>         driftfile /etc/ntp/drift
>         authenticate no
> 
> Make sure that ntpd can write the drift file and it is primed with a number,
> such as root "echo "1" >/etc/ntp/drift".
> 
> The YD system had the name of this one as it's server.

So, did your YDL system run ntpd continuously or ntpdate as a cron
job? I'm wondering what would be the "optimal" solution.

Eric.


More information about the yellowdog-general mailing list