Skip to content

hubcli job wait

Waits for a job to finish

The command has the following format:

hubcli job wait [flags] job-id

flags
One or more optional flags that provide additional control over execution of the command.
job-id
Specifies the job identifier. You can get a list of identifiers using the hubcli job list command.

A flag can be one of the following:

-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.
-d or --download
Downloads job results when the job has finished to either the default directory, or the directory specified by the -o option. The default directory is ./connection_name_jobid, where connection_name is the name of the connection used for the job and job_id is the job identifier for the job.
--debug
Enables debug logging.
-h or --help
Returns help information for this command.
-o string or --outputDir string
Specifies the directory into which the results of the job are downloaded. If this is not specified, the default directory used is as described in the -d and -z options.
-z or --downloadZip
Downloads job results in a zip file when the job has finished. The zip file is downloaded to either the default directory, or to the directory specified by the -o option. The default directory is ./ (the current working directory).