WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

WebBatch
plus
plus
plus
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

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:   W12463
Filename:   WebParamSet and TimeOut Error.txt
File Created: 1999:04:15:16:47:24
Last Updated: 1999:04:15:16:47:24