WinUtils - sleep

Download now!

NAME

sleep - suspend execution for an interval

SYNOPSIS

sleep time

DESCRIPTION

sleep will suspend execution for at least the integral number of seconds specified by time.

OPERANDS

time An integer that specifies the number of seconds for which to suspend execution.

EXAMPLES

To execute a command after a certain amount of time:

   sleep 5
   command

To execute a command periodically:

   FOR /F ... %%i IN (%1) DO CALL DoCommand.bat %%i %2 %%j %%k

where DoCommand.bat is...

   sleep 10
   command