wiki:TorqueUsage/Functions/Pbs_deljob

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

--

PBS_DELJOB

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.

result = pbs.default(c, job_id, extend)

In

c::

Connection id

job_id::

Identifies which job is to be deleted, it is specified in the form: sequence_number.server

extend::

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.

Out

result::

If non-zero then an error has occured