Trees | Indices | Help |
|
---|
|
Job related commands
|
|||
|
|||
int |
|
||
int |
|
||
int |
|
||
int |
|
||
int |
|
||
int |
|
||
int |
|
||
|
|
|||
_LIST_DEF_FIELDS = ["id", "status", "summary"] default list of fields for ListJobs |
|||
_USER_JOB_STATUS = {constants.JOB_STATUS_QUEUED: "queued", con map converting the job status contants to user-visible names |
|||
_PENDING_OPT = cli_option("--pending", default= None, action=
|
|||
_RUNNING_OPT = cli_option("--running", default= None, action=
|
|||
_ERROR_OPT = cli_option("--error", default= None, action= "sto
|
|||
_FINISHED_OPT = cli_option("--finished", default= None, action
|
|||
commands = {"list":(ListJobs, [ArgJobId()], [NOHDR_OPT, SEP_OP
|
|||
aliases = {"show": "info",} dictionary with aliases for commands |
Imports: constants, errors, utils, cli, qlang
|
List the jobs
|
List job fields.
|
Archive jobs.
|
Archive jobs based on age. This will archive jobs based on their age, or all jobs if a 'all' is passed.
|
Cancel not-yet-started jobs.
|
Show detailed information about jobs.
|
Follow a job and print its output as it arrives.
|
|
_USER_JOB_STATUSmap converting the job status contants to user-visible names
|
_PENDING_OPT
|
_RUNNING_OPT
|
_ERROR_OPT
|
_FINISHED_OPT
|
commands
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Jan 18 10:09:27 2013 | http://epydoc.sourceforge.net |