| 1 | [[ShowPath]] |
| 2 | [[PageOutline]] |
| 3 | |
| 4 | = PBS_SELECTJOB = |
| 5 | Issue a batch request to select jobs which meet certain criteria. |
| 6 | {{{ |
| 7 | jobs = pbs.pbs_selectjob(c, attropl, extend) |
| 8 | }}} |
| 9 | |
| 10 | == In == |
| 11 | |
| 12 | c:: |
| 13 | Connection id |
| 14 | |
| 15 | [wiki:TorqueUsage/DataTypes/Attropl attropl]:: |
| 16 | Which jobs must we select |
| 17 | |
| 18 | extend:: |
| 19 | Is reserved for implementation defined extenions. TORQUE 2.0.0p1 added {{{pbs.EXECQUEONLY}}} |
| 20 | to only retrieve jobs in execution queues. |
| 21 | |
| 22 | == Out == |
| 23 | |
| 24 | jobs:: |
| 25 | If None then an error has occurred else a list of jobs identifiers in the form: {{{sequence_number.server@server}}} |
| 26 | |
| 27 | == Example == |
| 28 | |