Skip to content

hubcli job download

Downloads the results of an individual job.

The command has the following format:

hubcli job download [flags] job-id

where:

flags
One or more optional flags that provide additional control over execution of the command.
job-id
Specifies the job identifier of the job to be cancelled. A job identifier is created when a job is submitted. You can find a job identifier in the list of jobs that is created by the hubcli job list command.

The following flags are available:

-c string or --connection string
Specifies the name of the connection to use. If you do not specify this option, then the default connection is used. If there is no default connection, then you must specify a connection. The first connection created for the Altair SLC Hub instance is set by default as the default Hub instance, but a different default connection can be set using the hubcli connection use command.
--debug
Enables debug logging.
-h or --help
Returns help information for this command.
-o string or --outputDir string
The directory into which results are downloaded. The default directory is ./connectionname_jobid. For example, if the job identifier you specify is job_21, and the connection you specify is myconn, then the results are downloaded to a new subdirectory myconn_job_21 in the current working directory.
-z or --zip
The results of the specified job are written to a zip file before downloading. The zip file is downloaded to the current working directory.

Note: results is an alias of download