Fortinet white logo
Fortinet white logo

CLI Reference

config system auto-script

config system auto-script

Configure auto script.

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

config system auto-script

Parameter

Description

Type

Size

interval

Repeat interval in seconds.

integer

Minimum value: 0 Maximum value: 31557600

name

Auto script name.

string

Maximum length: 35

output-size

Number of megabytes to limit script output to.

integer

Minimum value: 10 Maximum value: 1024

repeat

Number of times to repeat this script (0 = infinite).

integer

Minimum value: 0 Maximum value: 65535

script

List of FortiOS CLI commands to repeat.

var-string

Maximum length: 1023

start

Script starting mode.

option

-

Option

Description

manual

Starting manually.

auto

Starting automatically.

config system auto-script

config system auto-script

Configure auto script.

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

config system auto-script

Parameter

Description

Type

Size

interval

Repeat interval in seconds.

integer

Minimum value: 0 Maximum value: 31557600

name

Auto script name.

string

Maximum length: 35

output-size

Number of megabytes to limit script output to.

integer

Minimum value: 10 Maximum value: 1024

repeat

Number of times to repeat this script (0 = infinite).

integer

Minimum value: 0 Maximum value: 65535

script

List of FortiOS CLI commands to repeat.

var-string

Maximum length: 1023

start

Script starting mode.

option

-

Option

Description

manual

Starting manually.

auto

Starting automatically.