# FailOnScriptTimeout

The connector allows time for scripts to complete before processing a page. The maximum amount of time to wait is specified by the parameter MaxWaitForScripts. If a page reaches this timeout and scripts have still not finished, the scripts are terminated. This parameter specifies what to do next:

- When `FailOnScriptTimeout=FALSE` (the default value), the connector processes the page as if the scripts had finished.
- When `FailOnScriptTimeout=TRUE`, page processing returns an error, all links are assumed to be unchanged, and the connector attempts to process the page again during the next synchronize cycle. You might want to set `FailOnScriptTimeout=TRUE` to stop the connector from deleting pages that it has seen before but can no longer reach (for example because the links are generated by JavaScript and the script did not finish).

Type: | Boolean
Default: | False
Required: | No
Configuration Section: | TaskName or FetchTasks
Example: | `FailOnScriptTimeout=TRUE`
See Also: | MaxWaitForScripts ScriptInactivityTimeout

_FT_HTML5_bannerTitle.htm