Project

General

Profile

jobsub_release

Use the jobsub_release command to release a job that is in hold state.


$ jobsub_release -h
Usage: jobsub_release [Client Options]

Options:
  --version             show program's version number and exit

  Client Options:
    -G <Group/Experiment/Subgroup>, --group=<Group/Experiment/Subgroup>
                        Group/Experiment/Subgroup for priorities and
                        accounting
    --jobsub-server=<JobSub Server>
                        Alternate location of JobSub server to use
    --role=<VOMS Role>  VOMS Role for priorities and accounting
    --jobid=<Job ID>    CSV list of Job Ids to release.  Job Ids have format
                        of (cluster).(process)@(schedd_name). If Job id has a
                        decimal point but no process (example)
                        1234.@fifebatch.fnal.gov then ALL job ids with that
                        cluster and schedd name will be removed
    --debug             Print debug messages including server contacted, http
                        response, response time
    -h, --help          Show this help message and exit
    --user=<user ID>    release all jobs with this uid
    --constraint=<constraint>
                        release all jobs with this constraint

REQUIRED arguments to release jobs  are (-G AND  (--jobid OR --user OR
--constraint )).  Please direct questions, comments, or problems to the
service desk.  For help on --jobid or --constraint see
https://cdcvs.fnal.gov/redmine/projects/jobsub/wiki/Frequently_Asked_Questions

Usage Example

$ jobsub_q -G nova 
Server response code: 200
Response OUTPUT:
323.0@fifebatch2.fnal.gov    dbox    06/09    16:28    0+00:00:00    H    0    0.0    nova.sh_20140609_162840_8980_0_1_wrap.sh
324.0@fifebatch2.fnal.gov    dbox    06/09    16:28    0+00:00:00    H    0    0.0    nova.sh_20140609_162843_9114_0_1_wrap.sh
325.0@fifebatch2.fnal.gov    dbox    06/09    16:28    0+00:00:00    H    0    0.0    nova.sh_20140609_162847_9246_0_1_wrap.sh
Remote Listing Processing Time: 0.0905029773712 sec

$ jobsub_release -G nova --jobid 323.0@fifebatch2.fnal.gov,324.0@fifebatch2.fnal.gov,325.0@fifebatch2.fnal.gov
Server response code: 200
Response OUTPUT:
Performed Release on 1 jobs matching your request
Remote Release Processing Time: 0.0870110988617 sec
Server response code: 200
Response OUTPUT:
Performed Release on 1 jobs matching your request
Remote Release Processing Time: 0.132838964462 sec
Server response code: 200
Response OUTPUT:
Performed Release on 1 jobs matching your request
Remote Release Processing Time: 0.0682098865509 sec
$ jobsub_q -G nova 
Server response code: 200
Response OUTPUT:
323.0@fifebatch2.fnal.gov    dbox    06/09    16:28    0+00:00:00    I    0    0.0    nova.sh_20140609_162840_8980_0_1_wrap.sh
324.0@fifebatch2.fnal.gov    dbox    06/09    16:28    0+00:00:00    I    0    0.0    nova.sh_20140609_162843_9114_0_1_wrap.sh
325.0@fifebatch2.fnal.gov    dbox    06/09    16:28    0+00:00:00    I    0    0.0    nova.sh_20140609_162847_9246_0_1_wrap.sh
Remote Listing Processing Time: 0.0906929969788 sec