Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Nov 2000 19:16:48 -0700 (MST)
From:      <janb@cs.utep.edu>
To:        Zero Sum <count@shalimar.net.au>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: how can I run utilities at idle time?
Message-ID:  <Pine.GSO.4.05.10011151916180.28003-100000@gecko>
In-Reply-To: <00111609334802.43667@shalimar.net.au>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.05.10011151916180.28003-100000>