From owner-cvs-all Sun Dec 10 14:50:46 2000 From owner-cvs-all@FreeBSD.ORG Sun Dec 10 14:50:42 2000 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 6586E37B400; Sun, 10 Dec 2000 14:50:41 -0800 (PST) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 10 Dec 2000 22:50:40 +0000 (GMT) Date: Sun, 10 Dec 2000 22:50:39 +0000 From: David Malone To: Robert Watson Cc: Brian Somers , Dag-Erling Smorgrav , "David E. O'Brien" , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc crontab Message-ID: <20001210225039.A40111@walton.maths.tcd.ie> References: <200012092254.eB9Msbk55407@hak.lan.Awfulhak.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from rwatson@FreeBSD.org on Sat, Dec 09, 2000 at 10:42:41PM -0500 Sender: dwmalone@maths.tcd.ie Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Dec 09, 2000 at 10:42:41PM -0500, Robert Watson wrote: > On a related note, this is also more susceptible to cascading failure, as > it queues the work rather than canceling it if resources aren't available. We use something like the suggested, which skips the job if the old one is still running: lockf -s -t 0 /var/run/vm-fault-cleaner.lock /local/etc/vm-fault-cleaner.pl || true You need the "|| true" to stop crontab complaining about the job failing. David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message