Sleep

The sleep statement pauses script execution for a specified time.

Syntax:  

Sleep n

Arguments:  

Argumento Descripción
n Stated in milliseconds, where n is a positive integer no larger than 3600000 (i.e. 1 hour). El valor puede ser una expresión.

Example 1:  

Sleep 10000;

 

Example 2:  

Sleep t*1000;