[torquedev] next_job_number attribute

Glen Beane glen.beane+torque at gmail.com
Fri Aug 4 18:13:35 MDT 2006


I have added the ability for managers to set the next job number via a
hidden qmgr attribute called next_job_number

e.g. qmgr -c "s s next_job_number = 1000"

This feature is uesfull for sites that keep a database of data indexed
by job number, and for some reason have to rebuild the pbs_server
database (possibly because of a database format change between major
torque versions).

The manager should be careful to avoid setting the value to something
that would allow the next job number to conflict with a job already
queued.  If this does happen it will be handled in a sane manner:
torque will reject the job submission and increment the
next_job_number.


More information about the torquedev mailing list