From owner-freebsd-stable Wed Nov 15 18:17: 6 2000 Delivered-To: freebsd-stable@freebsd.org Received: from cs.utep.edu (mail.cs.utep.edu [129.108.5.3]) by hub.freebsd.org (Postfix) with ESMTP id E028637B4CF for ; Wed, 15 Nov 2000 18:17:03 -0800 (PST) Received: from gecko (gecko [129.108.5.51]) by cs.utep.edu (8.10.1/8.10.1) with ESMTP id eAG2GnN07539; Wed, 15 Nov 2000 19:16:50 -0700 (MST) Date: Wed, 15 Nov 2000 19:16:48 -0700 (MST) From: X-Sender: janb@gecko To: Zero Sum Cc: freebsd-stable@FreeBSD.ORG Subject: Re: how can I run utilities at idle time? In-Reply-To: <00111609334802.43667@shalimar.net.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks to everyone who replied. JAn On Thu, 16 Nov 2000, Zero Sum wrote: > -----BEGIN PGP SIGNED MESSAGE----- > > On Thursday 16 November 2000 03:59, janb@cs.utep.edu wrote: > > I would like to run a cron type service, but the utilities run from this > > servic (updating the locate database, for example) should only take up > > idle time on the computer. Does anybody know how to do this? > > > > > I read the advice that others gave you and it wasn;t very helpful, so this > is the best I can do. > > You have three choices. > > 1. Use the current 'cron' and put idprio in form of the 'slow' jobs in the > crontabs. Problem with this is that is inelegant, mixes up different job > classes, rwuire maintenance and is only useful to root. > > 2. What I would suggest was running a sceonf copy of cron in a chrooted > jail at idprio. All jobs kicked of by this second chrooted, idprio'ed cron > should run at idle priorities. > > 3. Take a look at the various queue managing facilities provided by 'at. > You can pick queues, set ques with different priorities, maximum concurrent > jobs etc. This may very will be exactly what you want. > > > Geoff > -- > count@shalimar.net.au > Nihil curo de ista tua stulta superstitione > > > -----BEGIN PGP SIGNATURE----- > Version: PGPfreeware 5.0i for non-commercial use > MessageID: AN//8Ir0Ug+P/pgOxmTBJZ2fAugnu+of > > iQA/AwUBOhMPTfh4xz7LU/evEQIWLACgux5QeFRRXjCsjnr0MzJTc7IyUMcAoN7p > Ljob5GZEUXKVFNPKkLpexkm9 > =oy8f > -----END PGP SIGNATURE----- > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message