Deleting a Batch Job - Intergraph Batch Services - Help

Intergraph Batch Services Help

Language
English
Product
Intergraph Batch Services
Search by Category
Help

These commands allow you to delete batch jobs that are not running, or abort running jobs.

Only the job owner or a user with at least operator privileges on the server where the job is located may delete a batch job.

Using Batch Manager:

  1. Highlight the job that you want to delete.

  2. Select Job > Delete, or click Delete Job Delete Job on the toolbar.

  3. Batch Manager deletes the currently selected job. If the job is running, Batch Manager provides the option of restarting the job (the ability to restart the job is dependent on the restartable flag). If the job is not running, the job deletion is confirmed.

Using the command line:

  1. Obtain the job-ID using the qstat command.

  2. Use the qdel command to delete the job if it is not running. If the job is running, use the -k option with qdel.

Using the Batch API:

Use the BatchAbortJob function to delete a running job. Use the BatchDeleteJob function to delete a job that is not running.