jobs command manages jobs in NexusOne.
delete
The delete subcommand deletes a specific job and its corresponding data.
Argument
Argument
job_idstringrequired: Unique ID of the job to delete.
Global options
Global options
--api-keystringoptional: API key or theNX1_API_KEYvariable.--config-filestringoptional: YAML config file.--help-hoptional: Shows help messages and exit.--hoststringoptional: API host.--no-verify-ssloptional: Disables SSL verification.--output-ooptional: Output format. Allowed values:json,yaml, ortable.--profile-pstringoptional: Profile name from~/.nx1/profiles.--timeoutintegeroptional: Requests when to timeout. Default is30.--verbose-voptional: Verbose output.
get
The get subcommand retrieves the job details of a specified job.
Argument
Argument
job_idstringrequired: Unique ID of the job to get.
Global options
Global options
--api-keystringoptional: API key or theNX1_API_KEYvariable.--config-filestringoptional: YAML config file.--help-hoptional: Shows help messages and exit.--hoststringoptional: API host.--no-verify-ssloptional: Disables SSL verification.--output-ooptional: Output format. Allowed values:json,yaml, ortable.--profile-pstringoptional: Profile name from~/.nx1/profiles.--timeoutintegeroptional: Requests when to timeout. Default is30.--verbose-voptional: Verbose output.
list
The list subcommand retrieves a list of all jobs accessible to you along with its job details.
Global options
Global options
--api-keystringoptional: API key or theNX1_API_KEYvariable.--config-filestringoptional: YAML config file.--help-hoptional: Shows help messages and exit.--hoststringoptional: API host.--no-verify-ssloptional: Disables SSL verification.--output-ooptional: Output format. Allowed values:json,yaml, ortable.--profile-pstringoptional: Profile name from~/.nx1/profiles.--timeoutintegeroptional: Requests when to timeout. Default is30.--verbose-voptional: Verbose output.
trigger
The trigger subcommand manually triggers a specific job to run immediately.
Argument
Argument
job_idstringrequired: Unique ID of the job to trigger.
Global options
Global options
--api-keystringoptional: API key or theNX1_API_KEYvariable.--config-filestringoptional: YAML config file.--help-hoptional: Shows help messages and exit.--hoststringoptional: API host.--no-verify-ssloptional: Disables SSL verification.--output-ooptional: Output format. Allowed values:json,yaml, ortable.--profile-pstringoptional: Profile name from~/.nx1/profiles.--timeoutintegeroptional: Requests when to timeout. Default is30.--verbose-voptional: Verbose output.
wait
The wait subcommand waits for a specific job to complete.
Argument
Argument
job_idstringrequired required: Unique ID of the job to wait for.
Options
Options
--poll-intervalstringrequired: Number of seconds between status checks. Default:5.--max-waitintrequired: Maximum number of seconds to wait for the job to complete. Default:300.
Global options
Global options
--api-keystringoptional: API key or theNX1_API_KEYvariable.--config-filestringoptional: YAML config file.--help-hoptional: Shows help messages and exit.--hoststringoptional: API host.--no-verify-ssloptional: Disables SSL verification.--output-ooptional: Output format. Allowed values:json,yaml, ortable.--profile-pstringoptional: Profile name from~/.nx1/profiles.--timeoutintegeroptional: Requests when to timeout. Default is30.--verbose-voptional: Verbose output.