NaviServer - programmable web server

[ Main Table Of Contents | Table Of Contents | Keyword Index ]

ns_sleep(n) 4.99.19 naviserver "NaviServer Built-in Commands"

Name

ns_sleep - Sleep for a specified number of seconds

Table Of Contents

Synopsis

Description

Sleeps for the number of seconds specified in seconds.

COMMANDS

ns_sleep seconds

seconds The value of seconds can be any NaviServer time string, such as a positive integer (or zero, in which case the function returns immediately), or the form sec:usec or sec.fraction.

EXAMPLES

   % ns_sleep 2

See Also

nsd

Keywords

global built-in, time