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 repeat {integer}

set start [manual|auto]

set script {var-string}

set output-size {integer}

set timeout {integer}

next

end

config system auto-script

Parameter

Description

Type

Size

Default

interval

Repeat interval in seconds.

integer

Minimum value: 0 Maximum value: 31557600

0

repeat

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

integer

Minimum value: 0 Maximum value: 65535

1

start

Script starting mode.

option

-

manual

Option

Description

manual

Starting manually.

auto

Starting automatically.

script

List of FortiOS CLI commands to repeat.

var-string

Maximum length: 1023

output-size

Number of megabytes to limit script output to .

integer

Minimum value: 10 Maximum value: 1024

10

timeout

Maximum running time for this script in seconds (0 = no timeout).

integer

Minimum value: 0 Maximum value: 300

0

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 repeat {integer}

set start [manual|auto]

set script {var-string}

set output-size {integer}

set timeout {integer}

next

end

config system auto-script

Parameter

Description

Type

Size

Default

interval

Repeat interval in seconds.

integer

Minimum value: 0 Maximum value: 31557600

0

repeat

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

integer

Minimum value: 0 Maximum value: 65535

1

start

Script starting mode.

option

-

manual

Option

Description

manual

Starting manually.

auto

Starting automatically.

script

List of FortiOS CLI commands to repeat.

var-string

Maximum length: 1023

output-size

Number of megabytes to limit script output to .

integer

Minimum value: 10 Maximum value: 1024

10

timeout

Maximum running time for this script in seconds (0 = no timeout).

integer

Minimum value: 0 Maximum value: 300

0