A.2. Waiting for a Job to Finish

Some vda subcommands return immediately but start an action in the background, known as a job.

The job-wait subcommand allows you to wait for a specific job to be completed before the next command is performed.

# sbin/vda job-wait --help
Wait until the job ends

Usage:
 vda job-wait [-t <timeout> | --timeout=<timeout>] <job>
 -?, --help                Print this help list
Options:
 -t <timeout>, --timeout=<timeout> 
                           Timeout in seconds to wait
Operand:
*<job>                     The id of the job
'*' denotes mandatory parameters.