WebParamSet and Timeout
Keywords: WebSetTimeout timeout
Question:
I have a couple of WEBCGI programs (written in WebBatch) that can take a while (possibly 3-4 minutes). Sometimes I get a Webatch error saying that my program has timed-out and that I should change the timeout in the WebParamSet. How do I change this and where is the syntax to change this?Answer:
Ummm. From the webfixes.txt file...WebSetTimeout(i:timeout) Specifies how long a WIL script can run before timing out, in seconds. Default is 60. Maximum is 4,294,967. Specify 0 for no timeout. Specify -1 to return the current timeout value without changing it. Returns previous timeout value.I would not specify zero. Maybe 600 for 10 minutes?This command was put in to kill scripts that went into an infinite loop.
Article ID: W12463Filename: WebParamSet and TimeOut Error.txt