From owner-freebsd-stable Wed Nov 15 9:17: 9 2000 Delivered-To: freebsd-stable@freebsd.org Received: from frodo.sickla.raditex.se (gandalf.raditex.se [192.5.36.18]) by hub.freebsd.org (Postfix) with ESMTP id DAE4937B4C5 for ; Wed, 15 Nov 2000 09:17:06 -0800 (PST) Received: (from kaj@localhost) by frodo.sickla.raditex.se (8.11.0/8.11.0) id eAFHGeO91148; Wed, 15 Nov 2000 18:16:40 +0100 (CET) (envelope-from kaj@raditex.se) X-Authentication-Warning: frodo.sickla.raditex.se: kaj set sender to kaj@raditex.se using -f To: Cc: freebsd-stable@FreeBSD.ORG Subject: Re: how can I run utilities at idle time? References: From: Rasmus Kaj Cc: Rasmus Kaj Organization: Raditex AB - http://Raditex.se/ X-Face: M9cR~WYav<"fu%MaslX0`43PAYY?uIsM8[#E(0\Xuy9rj>4gE\h3jm.7DD?]R8*^7T\o&vT U@[53Dwkuup4[0@gw#~kyu>`unH?kVj9CJa02(h>Ki\+i=%rn%sDf^KC.!?IHkKjMAbkd\jgmphp^' d|Q;OeXEAhq?ybGqOs1CHb6TJT42'C`Krnk61//AOfXtNjj/t'`5>Vw0QX!dKfOL$.f+S"LIuwR<;I Z0Qnnx(F^F]o@*V%TUtEV'1Z[TkOl^FFV9Z~A[b19%}uP*,huCU Date: 15 Nov 2000 18:16:40 +0100 In-Reply-To: 's message of "Wed, 15 Nov 2000 09:59:37 -0700 (MST)" Message-ID: <84r94dtatj.fsf@frodo.sickla.raditex.se> Lines: 18 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Capitol Reef) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> "j" == janb writes: j> I would like to run a cron type service, but the utilities run from this j> servic (updating the locate database, for example) should only take up j> idle time on the computer. Does anybody know how to do this? This sounds more like a -questions topic to me, see http://www.se.freebsd.org/handbook/eresources.html for details. Anyway, depending on your definition of "idle", a good way, at least in FreeBSD which have a good sheduler and a good VM system, is to simply run the task nice(1). -- Rasmus Kaj ------------------------ rasmus@kaj.se - http://Raditex.se/~kaj/ \ If you're happy, you're successful \----------------------------------------------------- http://Raditex.se/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message