Click to See Complete Forum and Search --> : Setting permanent 'nice' level of an app?


movEAX_444
07-03-2005, 05:00 AM
I have an app that I always want the nice level of to be -20. Is this possible? I don't want to be root every time I execute the app. I also don't want to use sudo.. unless I have to.

I am writing an app for a koisk and the main interface launches a child app every once in a while. I want that to be nice -20 when it's launched.

Hayl
07-03-2005, 09:26 AM
you have to renice it each time it is started.

so when it is started, start it from a script that has a line to start the app and a line to renice it using sudo.

other than that the only way I can think of is to write a script that loops endlesly looking for that app and renicing it when it finds it and its nice level is not -20.