Previous Topic: SecureContainer--Encrypt an Software Delivery Job Container Order FileNext Topic: ExitCodeMsg - Will Set an Error Message for a Failed Job


WaitContainers--Waits for Jobs to Finish

This command can optionally be used after calls to ExecuteContainer in batch files to wait for all pending or running jobs to finish.

Syntax

WaitContainers [-t:Timeout] 
               [-f:ContainerFile]
[-t:Timeout]

Given in seconds. Specifies the time to wait. The default value is infinite. The range is 0 to 2**31-1 (optional).

[-f:ContainerFile]

The container file name (optional). If the extension cof is left out in the file name, Software Delivery appends it.
Note: The file is assumed to reside in “.\CA\DSM\Agent\units\00000001\usd\sdjexec”.

Example:

The following example shows the command to wait for all jobs in the container order file order3.cof to finish. The timeout is 30 seconds.

sd_acmd waitcontainers -t:30 -f:order3.cof

Note: If no container file (cof file) is given, a wait for all offline jobs is initiated.