Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jan 2000 12:35:58 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Pekka Savola <Pekka.Savola@netcore.fi>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Huge crontab jobs are not run.
Message-ID:  <20000102123558.X1528@freebie.lemis.com>
In-Reply-To: <3.0.6.32.20000101232921.00abfcf0@netcore.home>
References:  <3.0.6.32.20000101232921.00abfcf0@netcore.home>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday,  1 January 2000 at 23:29:21 +0200, Pekka Savola wrote:
> Hello all,
>
> I noticed that *huge* crontab entries in /etc/crontab aren't run on my
> 3.4-STABLE (the same in 3.2-REL).
>
> E.g.
> -----
> 1       0       *       *       1       root    /usr/local/sbin/logrotate
> -----
>
> Will not be run. Logrotate does some really heavy httpd log checking and
> resolving - Like 1-2 hours job on a P3/500.  Replacing
> /usr/local/sbin/logrotate with some neat little script seems to be run nicely.
> Also, 'touch /etc/crontab' doesn't help any.  Running the script manually
> works fine.
>
> Is there something I'm missing here?

Well, I'd guess you're looking in the wrong place.  This has nothing
to do with cron.

> Are there some kind of timeouts for crontab scripts?

No.  I currently have a cron job running which was started at 2 am; it
got delayed for some reason.  That's been over 10½ hours.

> Any ideas?

Look at the script.

Greg
--
When replying to this message, please copy the original recipients.
For more information, see http://www.lemis.com/questions.html
Finger grog@lemis.com for PGP public key
See complete headers for address and phone numbers


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000102123558.X1528>