Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)

queuedefs(4) OSS Shell and Utilities Reference Manual
NAME
queuedefs - Describes queues for the at, batch, and cron commands
DESCRIPTION
The queuedefs le describes the characteristics of the queues managed by the
cron demon.
Each noncomment line in this le describes one queue.
The format of a line is as follows:
q.[njobj][nicen][nwaitw]
The elds in this line are:
q The name of the queue:
a is the default queue name for jobs started by at
b is the default queue name for jobs started by batch
c is the default queue name for jobs run from a crontab le
njob The maximum number of jobs that can be run simultaneously in that queue. If
more than njob jobs are ready to run, only the rst njob jobs will be run; the oth-
ers will be run when currently running jobs terminate. The default value is 100.
nice The nice() function value to give to all jobs in that queue that are not run with a
user ID that has appropriate privileges. The default value is 2.
nwait The number of seconds to wait before rescheduling a job that was deferred either
because more than njob jobs were running in that jobs queue or because the sys-
temwide limit for the number of jobs executing has been reached. The default
value is 60.
Lines beginning with # are comments and are ignored.
EXAMPLES
#
#
a.4j1n
b.2j2n90w
This le species that the a queue, for at command jobs, can have up to 4 jobs running simul-
taneously; those jobs will run with a nice value of 1. Because no nwait value was given, if a job
cannot be run because too many other jobs are running, cron waits 60 seconds before trying
again to run it.
The b queue, for batch command jobs, can have up to 2 jobs running simultaneously; those jobs
will run with a nice value of 2. If a job cannot be run because too many other jobs are running,
cron waits 90 seconds before trying again to run it.
All other queues can have up to 100 jobs running simultaneously; they are run with a nice value
of 2, and if a job cannot be run because too many other jobs are running, cron waits 60 seconds
before trying again to run it.
FILES
/var/adm/cron/queuedefs
The queue description le for at, batch, and cron.
1134 Hewlett-Packard Company 527188-007