Команды SFK


    1        2        3        4        5        6        7        8        9        10    

Раздел 7. Scripting - Скрипты
alias | batch | call | cd | clock | color | echo | for | getcwd | label | loop | mkcd | pause | require | setvar | sleep | stop | storetext | tee | time | tofile | toterm |


Help:   Рус   |   Eng        Refer:   Рус   |   Eng  

Команда: sleep

delay execution within a batch file for a specified number of milliseconds

with the free open source sfk sleep command for Windows, Mac OS X, Linux and Raspberry Pi.
sfk sleep msec

delay execution for a number of milliseconds.

web reference
   http://stahlworks.com/sfk-sleep

usage example:

   runapache.bat:
   start sfk sleep 3000 +tail -f logs\access.log -pat "GET * 404 "
   apache.exe

      creates an error log viewer, and runs apache in parallel.
      sfk will wait 3 seconds before tail goes active.