Using the Grid/Job cancel
Revision as of 10:35, 28 June 2011 by Machiel.Jansen (talk | contribs) (Created page with "*Problem: you want to cancel one or more jobs that you just submitted *Solution use ''glite-wms-job-cancel'' In order to cancel one or more of the [[Using the Grid/Job submissio...")
- Problem: you want to cancel one or more jobs that you just submitted
- Solution use glite-wms-job-cancel
In order to cancel one or more of the jobs submitted. Use the following command:
glite-wms-job-cancel <JobID>
Like the commands glite-wms-job-status and glite-wms-job-output this command has an -i option which uses a file with jobIDs as arguments. The following example shows it's use.
mgjansen$ glite-wms-job-cancel -i myjobs ------------------------------------------------------------------ 1 : https://wms.grid.sara.nl:9000/8Ey04s3x9xIEE_6hCwb8hw 2 : https://wms.grid.sara.nl:9000/L4kprOVqd9QwdSTg2cbGCw a : all q : quit ------------------------------------------------------------------ Choose one or more jobId(s) in the list - [1-2]all (use , as separator or - for a range): a Are you sure you want to remove specified job(s) [y/n]y : y Connecting to the service https://145.100.13.54:7443/glite_wms_wmproxy_server Connecting to the service https://145.100.13.54:7443/glite_wms_wmproxy_server ============================= glite-wms-job-cancel Success ============================= The cancellation request has been successfully submitted for the following job(s): - https://wms.grid.sara.nl:9000/8Ey04s3x9xIEE_6hCwb8hw - https://wms.grid.sara.nl:9000/L4kprOVqd9QwdSTg2cbGCw ========================================================================================
When one of your jobs has already been completed you will get an error message, saying:
Error - Cancel not allowed Current Job Status is Cleared
This message can be safely ignored.