[LUNI] Scheduling question in 2.4/2.6
Steven Lembark
lembark at wrkhors.com
Tue Apr 13 23:57:58 CDT 2004
> renice will alter the priority of a running process.
> For setiathome I use this line in my crontab
>
> 0 * * * * cd /home/mikek/setiathome; setiathome -nice 19 > /dev/null 2>
> /dev/null
>
> It tries to start setiathome every hour. If it is already running nothing
> happens, otherwise is starts it with nice level 19 (lowest priority =
> highest nice level).
Problem is that the job can still climb in priority even
if its nice value is large. I'd like a job whose priority
is permenantly large (i.e., short circut the que-waiting
behavior so that the job is never runnable if any other
jobs are in the que).
--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
+1 888 359 3508
More information about the luni
mailing list