Wait

3.2.19 Wait

DESCRIPTION

Wait - Wait for a specified amount of time. Use this command to pause the script execution for a specified period of time.

SYNOPSIS

wait <time>
* Red colour indicates obligatory parameters

OPTIONS

time

-  Time to wait before proceeding to the next command. It must be a number greater than zero. A plain number is by default interpreted as milliseconds. See syntax of time values for the specification of time formats.

RETURNS

The command always returns 0 (zero).

EXAMPLES

Wait 30000
Wait 30s
Wait 0.5m

- All three commands are equivalent and make the script wait for 30 seconds (aka 30,000 milliseconds or half a minute) before proceeding to the next command.