[NTLUG:Discuss] ntpdate -vs- cron

Mark Bickel Mark.Bickel at Ericsson.com
Fri Oct 27 08:47:37 CDT 2000


Why not run xntp as a daemon and then cron just uses the date function
which has been (roughly) synchronised via xntp? Unless your application
needs a fine degree of accuracy and granularity (in which case you may
want to consider using a gps receiver which provides PPS, which will run
serveral hundred to several thousand dollars).

Here's a useful FAQ on NTP:
http://www.eecis.udel.edu/~ntp/ntpfaq/NTP-a-faq.htm

Mark.Bickel at ericsson.com

Egome wrote:

> If I execute /usr/sbin/ntpdate time.nist.gov  from the command line,
> everything works beautifully!
>
> If I try to make a cron job of that command line I get the following error
> message emailed to root..
>
> ntpdate[3103]: the NTP socket is in use, exiting


-------------- next part --------------
A non-text attachment was scrubbed...
Name: vcard.vcf
Type: text/x-vcard
Size: 366 bytes
Desc: Card for Mark Bickel
Url : http://ntlug.org/pipermail/discuss/attachments/20001027/03c800e2/vcard.vcf


More information about the Discuss mailing list