Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Added: | ||||||||
> > |
glite-ce-job-cancelSection: User Commands (1)Index NAMEglite-ce-job-cancel - Cancels one or more jobs previously submitted to CREAM based CEs.SYNOPSISglite-ce-job-cancel [options] <jobId1> <jobId2> ... <jobIdn>DESCRIPTIONThe command glite-ce-job-cancel cancels jobs previously submitted, using the glite-ce-job-submit command, to CREAM based CEs.glite-ce-job-cancel can remove one or more jobs: the jobs to be removed are identified by their job identifiers (job Ids returned by the glite-ce-job-submit command) provided as arguments to the command and separated by a blank space.
It has to be remarked that a job can be cancelled only by his/her owner (i.e. the user who submitted it).
Only the ``super-users'' can cancel jobs submitted by other persons.
Job states for which cancellation is allowed are: o Pending o Idle o Running o Really-Running o Held For all the other job states the cancellation request will result in a failure. An error message is of course printed also if the specified jobId doesn't exist. If the --all option is specified, all the jobs submitted to the interested CREAM CE (whose endpoint must be specified with the --endpoint option, which is mandatory in this case), owned by the user issuing the command, are removed. When the command is launched with the --all option, neither can a jobId be specified nor can the --input option be used.
The --input option permits to specify a file (file_name) that contains the jobIds to be removed. This file must be the one generated with the --output option of the glite-ce-job-submit or glite-ce-job-list commands. When using this option the user is interrogated for choosing among all, one or a subset of the listed job identifiers. If the file file_name does not represent an absolute path the file will be searched in the current working directory.
When a glite-ce-job-cancel request is issued, the host name and the port number to be used to contact the CREAM service(s) are retrieved from the specified jobIds (which encompass this information) unless the --endpoint option is used. As stated before, the --endpoint option is mandatory if the --all option is used. OPTIONS
EXIT STATUSglite-ce-job-cancel exits with a value of 0 if the cancel operation succeeds, >0 if errors occurred.
EXAMPLES
glite-ce-job-cancel --input joblist.txt
0. https://cream-ce-01.pd.infn.it:8443/CREAM116jbs5b9 1. https://cream-ce-01.pd.infn.it:8443/CREAM116jbi4o0 a. Cancel all jobs q. Quit Your choice ? (multiple choices separated by ',') a Are you sure you want to cancel specified job(s) [y/n]: y
glite-ce-job-cancel --endpoint grid005.pd.infn.it:8443 --all
cancels all jobs, on the specified CREAM CE, owned by the user issuing the command.
SEE ALSOglite-ce-job-submit, glite-ce-job-list
IndexThis document was created by man2html, using the manual pages. Time: 12:36:11 GMT, May 02, 2011 | |||||||
-- MassimoSgaravatto - 2011-04-29 \ No newline at end of file |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > |
|