wiki:TorqueUsage/Functions/Pbs_selectjob

Version 1 (modified by bas, 18 years ago) (diff)

--

PBS_SELECTJOB

Issue a batch request to select jobs which meet certain criteria.

jobs = pbs.pbs_selectjob(c, attropl, extend)

In

c::

Connection id

attropl::

Which jobs must we select

extend::

Is reserved for implementation defined extenions. TORQUE 2.0.0p1 added pbs.EXECQUEONLY to only retrieve jobs in execution queues.

Out

jobs::

If None then an error has occurred else a list of jobs identifiers in the form: sequence_number.server@server

Example