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]
Given in seconds. Specifies the time to wait. The default value is infinite. The range is 0 to 2**31-1 (optional).
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.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|