System Command Reference
392 Basic System Configuration Guide
Description This command is used to configure the maximum amount of time that a script may run.
Parameters seconds — Specifies the maximum amount of time that a script may run, in seconds.
Values 0 to 21474836
Default 3600
forever — Keyword to allow a script to run indefinitely.
max-completed
Syntax max-completed unsigned
Context config>system>script-control>script-policy
Description This command is used to configure the maximum number of script run history status entries to keep.
Parameters unsigned — Specifies the maximum number of script run history status entries to keep.
Values 1 to 255
Default 1
results
Syntax results file-url
no results
Context config>system>script-control>script-policy
Description This command is used to specify the location where the system writes the output of an event script’s
execution.
The no form of the command removes the file location from the configuration. Scripts will not execute
if there is no result location defined.
Parameters file-url — Specifies the location to send CLI output from script runs. The file-url is a location,
directory, and filename prefix to which a data and timestamp suffix is added when the results
files are created during a script run, as follows:
file-url_YYYYMMDD-hhmmss.uuuuuu.out
where:YYYYMMDD — date
hhmmss — hours, minutes, and seconds
uuuuuu — microseconds (padded to 6 characters with leading zeros)
Values local-url | remote-url
local-url — [cflash-id/] [file-path]
200 chars max, including cflash-id
directory length 99 characters max each