Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

A quick question about how nice works.

Say if I have a script that runs in the crontab like so

0 4 * * * nice -n 19 /usr/local/admin/ 

It is set to the lowest priority. This script will start other commands within it. Will these commands also be niced as well becuase the niced scrip started them or should all these commands have nice command added within the script?

share|improve this question
up vote 1 down vote accepted

Yes, that's correct. Every child process created by your script got the same prio as the parent.

share|improve this answer
Thanks for confirming. I was looking it the child processes and wasn't sure if this was the case. Thanks for you help – dgibbs Jun 5 '13 at 12:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.