Command Central 10.3 | Command Central Developer Reference | Using the Command Line Interface | Jobmanager Jobs Commands | sagcc list jobmanager jobs
 
sagcc list jobmanager jobs
Lists information about long-running jobs. A long-running job is an operation that requires more than a few seconds to complete, for example, the execution of a sagcc exec lifecycle command might take several seconds to complete.
Syntax
*Command Central syntax:
sagcc list jobmanager jobs  [jobid]  [options]
*Platform Manager syntax:
sagcc list jobmanager jobs  [jobid]  [options]
    
 options:    
[{--accept | -a} content_type]    
[{--debug | -d}]    
[{--error | -r} file]    
[{--format | -f} {tsv args | xml | csv args | json}]    
[{--log | -l} file]    
[{--output | -o} file]    
[{--password | -p} password]    
[{--quiet | -q}]    
[{--server | -s} url]    
[{--username | -u} user_name]
Arguments and Options
Argument or Option
Description
[jobid]
Optional. Specifies the ID of the job for which you want to retrieve information.
[options]
Optional. Refer to the command syntax for a list of the options the command supports. For a description of the options, see Common Options.
Usage Notes
If you omit [jobid] the command retrieves the information for all long-running jobs in the installation that Platform Manager manages.
Example When Executing on Command Central
To retrieve information for the job with ID “2” that is running in the installation that the Command Central server with host name “rubicon” and port “8090” manages, and have the output returned to the console in XML format:
sagcc get jobmanager jobs 2 --server http://rubicon:8090/cce --format xml
Because the {--username | -u} and {--password | -p} options are not specified, the command uses the default user name and password. For more information, see username and password.
Examples When Executing on Platform Manager
*To retrieve information for all the long-running jobs in the installation that the Platform Manager server with host name “rubicon2” and port “8092” manages, using the authorization of the user with user name “Administrator” and password “secret”:
sagcc list jobmanager jobs --server http://rubicon2:8092/spm   
--username Administrator --password secret
*To retrieve information for the job with ID “3” that is running in the installation that the Platform Manager server with host name “rubicon2” and port “8092” manages, and have the output returned to the console in XML format:
sagcc get jobmanager jobs 3 --server http://rubicon2:8092/spm --format xml
Because the {--username | -u} and {--password | -p} options are not specified, the command uses the default user name and password. For more information, see username and password.