Fortinet Document Library

Version:


Table of Contents

CLI Reference

6.2.1
Copy Link

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}
      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

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}
      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