[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cron message



On Mon, 2002-09-09 at 12:26, Colin Watson wrote:
> On Mon, Sep 09, 2002 at 05:01:36PM +0100, Richard Kimber wrote:
> > On Mon, 9 Sep 2002 15:59:13 +0100
> > Colin Watson <cjwatson@debian.org> wrote:
> > > What crontab file contains 'root /etc/cron.daily/leafnode'? The extra
> > > username parameter ('root') is only supposed to go in /etc/crontab, not
> > > other crontab files.
> > 
> > Thanks. I can only see /etc/crontab.
> > 
> > There is a /etc/news/crontab, but that doesn't contain a reference to
> > root.
> 
> The only other places I can think of where you might look are
> /etc/cron.* and /var/spool/cron/crontabs (the latter being controlled by
> crontab(1)).
> 
> If it's in none of those, I'm out of ideas. Could you post /etc/crontab?
> 
> -- 
> Colin Watson                                  [cjwatson@flatline.org.uk]
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 

The following is based on a standard installation of leafnode and cron,
as demonstrated by my system, where things are working:

It is running /etc/cron.daily/leafnode as part of the system's cron or
anacron run - each day, the various files in /etc/cron.daily are run,
each Sunday, those in /etc/cron.weekly are run, and each first of the
month, the files in /etc/cron.monthly are run. Anacron runs these with
the run-parts command, hence not specifically issuing any particularly
written command. Leafnode is being issued as part of:

25 6    * * *   root    test -e /usr/sbin/anacron || run-parts --report
/etc/cron.daily

My understanding is that it runs under the auspices of anacron if it is
installed, otherwise it runs as plain old cron issuing run-parts (if the
test for anacron works, the run-parts side of the || isn't evaluated,
iirc, as it only needs to get one of the two conditions to be true to
pass - if the first is okay, it is inefficient to bother with the
second.)

Guess this raises the question of whether or not you are running
anacron, and whether the installation of leafnode was from a .deb or
hand-compiled....
-- 
Mark L. Kahnt, FLMI/M, ALHC, HIA, AIAA, ACS, MHP
ML Kahnt New Markets Consulting
Tel: (613) 531-8684 / (613) 539-0935
Email: kahnt@hosehead.dyndns.org



Reply to: