| 4 | |
| 5 | Issue a batch request to delete a batch job. If the batch job is running, the execution server will send the SIGTERM signal followed by SIGKILL. |
| 6 | |
| 7 | {{{ |
| 8 | #python |
| 9 | result = pbs.default(c, job_id, extend) |
| 10 | }}} |
| 11 | |
| 12 | == In == |
| 13 | c:: |
| 14 | Connection id |
| 15 | |
| 16 | job_id:: |
| 17 | Identifies which job is to be deleted, it is specified in the form: {{{sequence_number.server}}} |
| 18 | |
| 19 | |
| 20 | extend:: |
| 21 | The argument, extend, is overloaded to serve two purposes. If extend contains a string of the form: {{{deldelay=nnnn}}}. it is used to provide control over the delay between sending SIGTERM and SIGKILL signals to a running job. The characters nnnn specify a time delay in seconds, else the administrator established default time delay is used. |
| 22 | |
| 23 | == Out == |
| 24 | |
| 25 | result:: |
| 26 | If non-zero then an error has occured |
| 27 | |