The jcs:sleep() function causes the script to sleep for a specified period. 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 millis argument is optional. For example, jcs:sleep(1) means 1 second and jcs:sleep(0, 10) means 10 milliseconds.
- jcs:sleep(seconds <, millis>)