[Contents] [Prev] [Next] [Index] [Report an Error]

jcs:sleep() Function

This function causes the script to sleep for a specified number of seconds and optionally, milliseconds. You can use this function to help determine how a routing component is working over time. To do this, write a script that issues a command, calls the jcs:sleep() function, and reissues the same command.

The milliseconds argument is optional. For example, jcs:sleep(1) means 1 second and jcs:sleep(0, 10) means 10 milliseconds.

jcs:sleep(seconds <, milliseconds>)

[Contents] [Prev] [Next] [Index] [Report an Error]