Delete job script
The delete job script sends the simulation ID for the scheduler to delete a job from the queue.
The delete job script does not return any value.
SGE scheduler example
This script called, for example delete.sh, is sent to the SGE scheduler to delete a job from the scheduler queue.
#!/bin/bash
#
# * $1 is the job ID, which is used for deleting the job from the queue
#
qdel $1
where qdel $1
deletes the job name from the queue, which is defined by the $1
parameter.
LSF scheduler example
This script is sent to the LSF scheduler to delete a job group from the scheduler queue.
#!/bin/bash
#
# * ug_dev_fdbundle is the job group name
#
bgdel ug_dev_fdbundle
where bgdel ug_dev_fdbundle
deletes the job group from the queue. In this example, the job group name is ug_dev_fdbundle
.