Sets the idle timeout after which the script server shuts down. Must be run before uploading data or scripts.
By default the script server shuts itself down after a period of inactivity. This is done to minimize the impact on the user's system. The downside is that the next script invocation has the overhead of restarting the server. By setting this timeout the user can avoid this downside.
menu: veeos ==> Scripting ==> Advanced ==> Set Shutdown Timeout
library: scriptLib
o_setShutdownTimeout(300)
sets the timeout to 5 minutes.
This object never actually needs to be run, but may be useful.
Since setting the timeout requires a new session on the server, any existing data or scripts or results are lost when this object executes. As such it should be run BEFORE uploading scripts or data.
VEE 7.0+, Windows 7+
checkStatus, disconnectServer, executeScript, getResult, sendData, sendScript, setShutdownTimeout