*BSD News Article 95012


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!news.caldera.com!enews.sgi.com!news.mathworks.com!europa.clark.net!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!news.apfel.de!univ-lyon1.fr!pasteur.fr!oleane!weld.news.pipex.net!pipex!plug.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!usenet
From: brian@shift.utell.net (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: daily, weekly, monthly auto-run ?
Date: 8 May 1997 09:49:31 GMT
Organization: Awfulhak Ltd.
Lines: 41
Message-ID: <5ks7jb$4q@ui-gate.utell.co.uk>
References: <E9ttpE.B3H@nonexistent.com> <E9tz5u.J7G@nonexistent.com>
Reply-To: brian@awfulhak.org, brian@utell.co.uk
NNTP-Posting-Host: shift.utell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:40572

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.

> Jim C.
> 
> 

-- 
Brian <brian@awfulhak.org> <brian@freebsd.org>
      <http://www.awfulhak.org>
Don't _EVER_ lose your sense of humour !