Fortinet white logo
Fortinet white logo

CLI Reference

system auto-script

Configure auto script.

  config system auto-script
      Description: Configure auto script.
      edit <name>
          set interval {integer}
          set repeat {integer}
          set start [manual|auto]
          set script {var-string}
          set output-size {integer}
          set timeout {integer}
      next
  end

config system auto-script

Parameter Name Description Type Size
interval Repeat interval in seconds. integer Minimum value: 0 Maximum value: 31557600
repeat Number of times to repeat this script (0 = infinite). integer Minimum value: 0 Maximum value: 65535
start Script starting mode.
manual: Starting manually.
auto: Starting automatically.
option -
script List of FortiOS CLI commands to repeat. var-string Maximum length: 255
output-size Number of megabytes to limit script output to (10 - 1024, default = 10). integer Minimum value: 10 Maximum value: 1024
timeout Maximum running time for this script in seconds (0 = no timeout). integer Minimum value: 0 Maximum value: 300

system auto-script

Configure auto script.

  config system auto-script
      Description: Configure auto script.
      edit <name>
          set interval {integer}
          set repeat {integer}
          set start [manual|auto]
          set script {var-string}
          set output-size {integer}
          set timeout {integer}
      next
  end

config system auto-script

Parameter Name Description Type Size
interval Repeat interval in seconds. integer Minimum value: 0 Maximum value: 31557600
repeat Number of times to repeat this script (0 = infinite). integer Minimum value: 0 Maximum value: 65535
start Script starting mode.
manual: Starting manually.
auto: Starting automatically.
option -
script List of FortiOS CLI commands to repeat. var-string Maximum length: 255
output-size Number of megabytes to limit script output to (10 - 1024, default = 10). integer Minimum value: 10 Maximum value: 1024
timeout Maximum running time for this script in seconds (0 = no timeout). integer Minimum value: 0 Maximum value: 300