scripttimeout
MAXRUNTIME

The scripttimeout statement sets the maximum runtime allowed for an embedded program (AppleScript, ShellScript, Perl, Ruby or Python).


Parameters

This statement has one parameter:

maxruntime – Maximum script runtime (in seconds)


Description

This statement sets the maximum runtime allowed for an embedded program (AppleScript, ShellScript, Perl, Ruby or Python).

scripttimeout 600
applescript |||some very long running script|||

If the timeout value is never set, the default is 60 seconds. The value set by the scripttimeout statement can be overriden on a case-by-case basis by the timeout parameter of the AppleScript, ShellScript, Perl, Ruby and Python statements.


See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.