Installer 10.15 | Complete Installation and Upgrade Information for Software AG Products | Command Central | Using the Command Line Interface | Jobmanager Jobs Commands | sagcc delete jobmanager jobs
 
sagcc delete jobmanager jobs
Attempts to cancel a long-running job. The success of the cancel operation depends on the status of the job as described in the Usage Notes section for this command.
Syntax
*Command Central syntax:
sagcc delete jobmanager jobs  jobid  [options]
*Platform Manager syntax:
sagcc delete jobmanager jobs  jobid  [options]
             
 options:               
[--force]               
Arguments and Options
Argument or Option
Description
jobid
Required. Specifies the ID of the job that you want to cancel.
[options]
Optional. The command allows all options supported by the Command Line Interface. For a description of the options, see Common Options.
Usage Notes
*When the command cancels a job successfully, it returns code 200 OK. If the command returns code 202 Accepted, the job might not be canceled. You should verify the status of the job using the sagcc get jobmanager jobs command.
*If the status of a long-running job is RUNNING, the command attempts to cancel the job, but might fail to cancel it.
*When the status of a long-running job is DONE, CANCELED, SCHEDULED, TIMEDOUT, or ERROR, the command removes the job from the jobs list.
Example When Executing on Command Central
To cancel a long-running job with ID “2” that is running in the installation that the Command Central server with host name “rubicon” and port “8090” manages:
sagcc delete jobmanager jobs 2 --server http://rubicon:8090/cce
Example When Executing on Platform Manager
To cancel a long-running job with ID “3” that is running in the installation that the Platform Manager server with host name “rubicon2” and port “8092” manages:
sagcc delete jobmanager jobs 3 --server http://rubicon2:8092/spm