[Franklin Piat]
> popularity-contest's cronjob (/etc/cron.daily/popularity-contest)
> should use ionice in order to be [even] less intrusive.

Make sense to me.

> I've attached a simple patch.

I suspect adding something like this to the script is less intrusive:

  ionice -c2 -p $$ > /dev/null 2>&1 || true

It change the nice level on the script process.  Btw, why did you
choose class 2 (best-effort) instead of class 3 (idle)?  I thought
class 2 was the default, thus making the operation a no-op?

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to