From owner-freebsd-questions Sun Jan 2 4: 9: 3 2000 Delivered-To: freebsd-questions@freebsd.org Received: from netcore.fi (netcore.fi [193.94.160.1]) by hub.freebsd.org (Postfix) with ESMTP id C0C8814CF1 for ; Sun, 2 Jan 2000 04:08:59 -0800 (PST) (envelope-from Pekka.Savola@netcore.fi) Received: from unf (netcore.fi [193.94.160.1]) by netcore.fi (8.9.3/8.9.3) with SMTP id OAA12546 for ; Sun, 2 Jan 2000 14:08:57 +0200 Message-Id: <3.0.6.32.20000102140829.008136d0@netcore.home> X-Sender: pekkas@netcore.home X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Sun, 02 Jan 2000 14:08:29 +0200 To: freebsd-questions@freebsd.org From: Pekka Savola Subject: Re: Huge crontab jobs are not run Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> 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. Sorry, I don't quite understand this. If this has nothing to do with crontab, *what* does it have to do with then? I run /usr/local/sbin/logrotate from the shell: bash-2.03# /usr/local/sbin/logrotate [works fine] I add it to /etc/crontab: 1 0 * * 1 root /usr/local/sbin/logrotate [Won't be run] I fail to see what *could* be wrong with the script because it works on an interactive shell session just fine. Any further ideas? Pekka Savola pekkas@netcore.fi --- Across the nations the stories spread like spiderweb laid upon spiderweb, and men and women planned the future, believing they knew truth. They planned, and the Pattern absorbed their plans, weaving toward the future foretold. -- Robert Jordan: The Path of Daggers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message