|
Nice vs Priority, how do I prioritise a cronjob?
I'm somewhat confused in regards to nice vs priority.
I sometimes renice a job in order to run it faster like a bzip.
But looking in top it certainly has given it a different nice value but it hasn't made any difference to the priority or somtimes it seems to change the priority with one digit only.
My intention is to actually speed up our backups, they run during the night but take way too long to complete thus givein people problem in the mornings.
It wouldn't be an issue to run them at higher priority in the middle of the night at the expenses of other services, I rather have this then running them late.
Do I renice the job? Can I increase the priority, and more so can I do this on a cronjob?
Thx
|