1834137 Members
2326 Online
110064 Solutions
New Discussion

cron anc nice

 
SOLVED
Go to solution
j773303
Super Advisor

cron anc nice

I run a comman by manually , it nice vaule is 20. But why run this command in cron job, then the nice value is 22? Thanks.

The default NI vaule is 20. why it is 22 in cron job? Thanks.
Hero
2 REPLIES 2
Sanjay Kumar Suri
Honored Contributor
Solution

Re: cron anc nice

Check this link:

http://www.barnettsystems.com/created/hpux/cronqueue.html

It refers to the file /var/adm/cron/queuedefs

which defines the maximum number of at or cron jobs is controled by the queuedefs file.


sks
A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
Sanjay Kumar Suri
Honored Contributor

Re: cron anc nice

b.2j2n90w

The b queue, for batch jobs, can have
up to 2 jobs running simultaneously. Those jobs will be run with a nice value of 2. If a job cannot be run because too many other jobs are running, cron will wait 90 seconds before trying again to run it.

sks
A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.