View Single Post
  #2   (View Single Post)  
Old 29th August 2008
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Real Name: Ben
Spam Refugee
 
Join Date: Jul 2008
Location: Rotterdam, The Netherlands
Posts: 336
Default

As far as I know, ntpd has its own internal 'check cycles', where it performs all kinds of calculations on averages, delays, time slew, and what have you. I don't think there's a way to interfere with that process. You may be better off using the ntpdate command from cron. Given the large deviations in time, you will probably need ntpdate -b [ntp-host] (note below) at boot-up (to sync the initial time), and maybe even from cron as well (where you would normally not use the -b option). See man ntpdate.

In /etc/rc.conf:
ntpdate_enable="YES"
ntpdate_flags="-b ntp-hostname"

Last edited by DutchDaemon; 29th August 2008 at 08:51 PM.
Reply With Quote