*BSD News Article 95104


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!feeder.chicago.cic.net!mr.net!news.netins.net!geoffrey
From: geoffrey@netins.net (geoffrey alexander)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: daily, weekly, monthly auto-run ?
Date: Fri, 09 May 1997 23:18:56 -0500
Organization: The alt.movies.kubrick Newsgroup
Lines: 42
Message-ID: <geoffrey-ya023380000905972318560001@news.netins.net>
References: <E9ttpE.B3H@nonexistent.com> <E9tz5u.J7G@nonexistent.com> <5ks7jb$4q@ui-gate.utell.co.uk>
NNTP-Posting-Host: unin-01-06.dialup.netins.net
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: Yet Another NewsWatcher 2.3.3
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:40663

In article <5ks7jb$4q@ui-gate.utell.co.uk>, brian@awfulhak.org,
brian@utell.co.uk wrote:

> In article <E9tz5u.J7G@nonexistent.com>,
>         jim@carroll.com (Jim C.) writes:
> > On Wed, 7 May 1997 19:52:17 GMT, jim@carroll.com (Jim C.) wrote:
> > 
> >>
> >>I am having trouble figuring out who is running these three scripts:
> >>
> >>      /etc/daily
> >>      /etc/weekly
> >>      /etc/monthly
> >>
> >>They seem to run at their appointed times (ie: daily runs at start of
> >>new day, weekly runs at start of new week , etc...).  The thing is, I
> >>cannot find a cron entry for them.
> >>
> >>Could someone point me towards which process is running these?
> >>I hate having "automated" processes that I cannot trace down, sort
> >>of makes the system feel "out-of-control".
> > 
> > 
> > Ok, found it.  These scripts are run by cron.  What tricked me was
> > that they are not run in a user specific crontab entry.  These entries
> > are stored in the special case crontab file /etc/crontab.
> > 
> > Several passes through the man file for me, and a quick look into the
> > cron code didn't reveal it to me (hows that for dense).  
> > 
> > Thanks to Jon Smith (smith@metrocon.com) for pointing out my blunder
> > (thanks Jon  8-)
> 
> I agree that it is rather un-intuitive to have two root crontabs
> available.

Let me second that (I won't admit how >I< discovered it :).

What can be done? It isn't necessary.

Geoffrey Alexander
geoffrey@iavalley.cc.ia.us