Date: Fri, 22 Jul 2005 17:44:03 +0100 From: RW <list-freebsd-2004@morbius.sent.com> To: freebsd-questions@freebsd.org Subject: Re: Possible problem with periodic daily processing Message-ID: <200507221744.03835.list-freebsd-2004@morbius.sent.com> In-Reply-To: <20050722081554.U53583@malcolm.berkeley.edu> References: <20050722081554.U53583@malcolm.berkeley.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 22 July 2005 16:24, Mike Friedman wrote: > Because of clock drift on my system, I decided to run ntpdate daily, > instead of just at boot time. So, what I did was create a symlink in > /etc/periodic/daily: 600.ntpdate -> /etc/rc.d/ntpdate, thus leveraging > the existing ntpdate script that runs at boot time. My rc.conf already has > 'ntpdate_enable="YES"' and sets 'ntpdate_program' and 'ntpdate_hosts'. > In fact, if I cd to /etc/periodic/daily and manually enter './600.ntpdate > start', it runs fine. > > Yet, it appears that ntpdate is NOT running automatically each day as part > of periodic daily processing. Any ideas on why this is the case? Is > there a restriction about symlinks and periodic processing? That's not the best way to do it. Normally ntpdate corrects gross clock errors at boot time, and then ntpd keeps the clock on track by continuous adjustment. It's covered in the manual.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507221744.03835.list-freebsd-2004>