A.2. Attente de la fin d'une tâche

Certaines sous-commandes vda renvoient immédiatement une valeur, mais démarrent une action (appelée tâche) en arrière-plan.

La sous-commande job-wait vous permet d'attendre la fin d'une tâche spécifique avant d'exécuter la commande suivante.

# 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.