Delay escript execution using sleep() function in Windows and Unix
(Doc ID 541719.1)
Last updated on AUGUST 02, 2018
Applies to:Siebel Tools - Version 184.108.40.206  and later
Oracle Solaris on SPARC (64-bit)
Product Release: V7 (Enterprise)
Version: 220.127.116.11 
Database: Oracle 18.104.22.168
Application Server OS: Sun Solaris 8
Database Server OS: HP-UX 11.0
This document was previously published as Siebel SR 38-1042896367.
Checked for relevance on 3-Aug-2018
How do you implement a sleep function in escript - we have a need to code a polling loop in eScript as follows:
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document
|Solution implemented DLL on Window platform / on Unix platform:|
For compiling the so file on Solaris, the customer has used the Doc ID 476274.1: Calling a shared library from eScript available on SupportWeb, but has added the following flags:
Full line for the link step was:
gcc libtest.o -static-libgcc -shared -o libtest.so
Generic eScript code for using on both platforms (Windows and Unix):