*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> queuedefs (4)              
Title
Content
Arch
Section
 

Contents


QUEUEDEFS(4)							  QUEUEDEFS(4)


NAME    [Toc]    [Back]

     queuedefs - at/batch/cron queue description file

SYNOPSIS    [Toc]    [Back]

     /usr/lib/cron/queuedefs

DESCRIPTION    [Toc]    [Back]

     The queuedefs file	describes the characteristics of the queues managed by
     cron(1M).	Each non-comment line in this file describes one queue.	 The
     format of the lines are as	follows:

	  q.[njobj][nicen][nwaitw]

     The fields	in this	line are:

	  q    The name	of the queue.  a is the	default	queue for jobs started
	       by at(1); b is the default queue	for jobs started by batch(1);
	       c is the	default	queue for jobs run from	a crontab file.	 The
	       name must be a lower case letter.

	  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
	       first njob jobs will be run, and	the others will	be run as jobs
	       that are	currently running terminate.  The default value	is
	       100.

	  nice The nice(1) value to give to all	jobs in	that queue that	are
	       not run with a user ID of super-user.  Valid nice values	are 0
	       to 19.  The default value is 2.

	  nwait
	       The number of seconds to	wait before rescheduling a job that
	       was deferred because more than njob jobs	were running in	that
	       job's queue, or because more than 25 jobs were running in all
	       the queues.  The	default	value is 60.

     Lines beginning with # are	comments, and are ignored.

EXAMPLE    [Toc]    [Back]

	  a.4j1n
	  b.2j2n90w

     This file specifies that the a queue, for at jobs,	can have up to 4 jobs
     running simultaneously; those jobs	will be	run with a nice	value of 1.
     As	no nwait value was given, if a job cannot be run because too many
     other jobs	are running cron will wait 60 seconds before trying again to
     run it.  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.  All other queues can have up to
     100 jobs running simultaneously; they will	be run with a nice value of 2,
     and if a job cannot be run	because	too many other jobs are	running	cron



									Page 1






QUEUEDEFS(4)							  QUEUEDEFS(4)



     will wait 60 seconds before trying	again to run it.

FILES    [Toc]    [Back]

     /usr/lib/cron/queuedefs

SEE ALSO    [Toc]    [Back]

      
      
     cron(1M)


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
queuedefs Tru64 Queue description file for at, batch, and cron commands
queuedefs HP-UX queue description file for at, batch, and crontab
dh_installcron Linux install cron scripts into etc/cron.*
chpasswd Linux update password file in batch
crontab OpenBSD tables for driving cron
crontab Linux tables for driving cron
crontab FreeBSD tables for driving cron
strmerge Tru64 batch string replacement
strextract Tru64 batch string extraction
crontab Tru64 Submits a schedule of commands to cron
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service