You are here: Scripting commands > Wait on Target

Wait on Target

Command WAIT ON TARGET
Description This command is used in scripts to force the script to stop executing until the target queue has been empty for the time specified
Syntax WAITONTARGET <target> [FROM <source>] <time>
Options
  • target—Name of the target, an IP address on the target, or a virtual IP address
  • source—Name of the source
  • time—Number of seconds that the target queue needs to be empty before the command will return
Examples waitontarget beta from alpha 30
Notes Machine names that contain non-alphanumeric characters must be enclosed in quotation marks.