From owner-freebsd-questions@FreeBSD.ORG Tue Jun 13 15:39:18 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D27FF16A41A for ; Tue, 13 Jun 2006 15:39:18 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id C28EA43D68 for ; Tue, 13 Jun 2006 15:39:17 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 1B62E5D79; Tue, 13 Jun 2006 11:39:15 -0400 (EDT) X-Virus-Scanned: amavisd-new at codefab.com Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oESIRYYmKoWb; Tue, 13 Jun 2006 11:39:14 -0400 (EDT) Received: from [192.168.1.251] (pool-68-160-201-170.ny325.east.verizon.net [68.160.201.170]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id 1F4B75C8A; Tue, 13 Jun 2006 11:39:14 -0400 (EDT) Message-ID: <448EDC89.2010404@mac.com> Date: Tue, 13 Jun 2006 11:40:57 -0400 From: Chuck Swiger User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: Jim Pazarena References: <448EDB17.6040305@ccstores.com> In-Reply-To: <448EDB17.6040305@ccstores.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: cron job limits X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2006 15:39:18 -0000 Jim Pazarena wrote: > I have a fairly lengthy routine which runs each > Sunday morning in a cronjob. For many months > now it has never completed, and I have to manually > run it from the CLI. (which runs fine). The cronjob > runs as root. > > It isn't failing because of a PATH problem, > (it's just /usr/local/bin/analog running in dozens > of repetitions) > > /usr/bin/limits shows most limits as infinity > > I don't get any email error message .. nothing! it just quits! > > any ideas? Add echo statements to the job, or change it to being a shell script that cron calls, which then runs all of your analog processes there. Make sure that MAILTO is set. If necessary, add a cronjob for /bin/false to check. :-) -- -Chuck