Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!brutus.cs.uiuc.edu!uakari.primate.wisc.edu!aplcen!uunet!prcrs!paul From: paul@prcrs.UUCP (Paul Hite) Newsgroups: comp.sys.hp Subject: Re: batch and /usr/lib/cron/queuedefs Message-ID: <399@prcrs.UUCP> Date: 28 Dec 89 19:23:49 GMT References: <6895@tank.uchicago.edu> Distribution: all Organization: PRC Realty Systems, McLean, VA Lines: 42 In article <6895@tank.uchicago.edu>, kap1@paideia.uchicago.edu (Dietrich Kappe.SYS ADMIN) writes: > If anyone could supply me with more information on batch, as well as batch is a shell script that contains: # @(#) $Revision: 27.1 $ at -qb The -q is an undocumented option to "at" that specifies which queue to use (the default is "a"). > the format of the /usr/lib/cron/queuedefs file, I would be most greatful. > Someone once posted some info on queuedefs in another group. It was for a Sun. I hope it works the same on HP. Anyway, here is the queuedefs file from our 850: a.4j1n b.2j2n90w \/\/\/\ / | | | |------> This optional field is an integer followed by the | | | keyletter "w". It's the number of seconds to wait | | | before retrying a job that couldn't run because too | | | many jobs were already running. Default = 60. | | | | | |---------> This optional field is an integer followed by the | | keyletter "n". It's the nice value for jobs in this | | queue. Default = 2. | | | |-----------> This optional field is an integer followed by the | keyletter "j". It's the max jobs allowed to be running | in the queue at one time. Other jobs get deferred | until something finishes. In addition to this limit, | only 25 jobs may exist in all queues. Default = 100. | (I realize that the last two sentences are a little | inconsistent but it's what was posted before. Sorry.) | |-------------> This required field is a letter followed by a dot. It's the name of the queue. This info is second-hand so don't flame me if it's wrong. Hope this helps. Paul Hite PRC Realty Systems McLean,Va uunet!prcrs!paul (703) 556-2243 DOS is a four letter word!