Re: Add "nice -10" to /etc/crontab run-parts commands?
On 30-May-99 Andreas Plesner Jacobsen wrote:
> On Fri, May 28, 1999 at 06:53:56PM +0200, Juergen A. Erhard wrote:
>>
>> Steve> Is there an objection to adding "nice 10" to the run-parts
>> Steve> invocations in /etc/crontab? This would (possibly) make the
>> Steve> machine more usable while they were running...
>>
>> I'm very much in favor of... something like that.
>
> On a similar note, what about not running some of the unimportant/
> diskintensive jobs, when APM reports, that the machine is battery-powered?
>
I wrote a program that works like test for apm. It was given to the apm maint
and should appear soon. My {ana}crontab looks like this:
onbatt || run_heavy_job
or
onacpow && run_heavy_job
Reply to: