Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Dec 2000 22:50:39 +0000
From:      David Malone <dwmalone@maths.tcd.ie>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        Brian Somers <brian@Awfulhak.org>, Dag-Erling Smorgrav <des@ofug.org>, "David E. O'Brien" <obrien@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/etc crontab
Message-ID:  <20001210225039.A40111@walton.maths.tcd.ie>
In-Reply-To: <Pine.NEB.3.96L.1001209223834.82272B-100000@fledge.watson.org>; from rwatson@FreeBSD.org on Sat, Dec 09, 2000 at 10:42:41PM -0500
References:  <200012092254.eB9Msbk55407@hak.lan.Awfulhak.org> <Pine.NEB.3.96L.1001209223834.82272B-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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