Fortinet black logo

CLI Reference

schedule

schedule

Use this command to configure the FortiRecorder schedule object settings.

This command is only available on hardware-based FortiAnalyzer models.

Syntax

config fortirecorder schedule object

edit <schedule>

set all-day {enable | disable}

set date-end <string>

set date-start <string>

set days {su mo tu we th fr sa}

set description <string>

set end-time-type time

set start-time-type time

set time-end <string>

set time-start <string>

set type {one-time | recurring}

next

end

Variable

Description

<schedule>

Enter the schedule name of the entry you need to edit or type a new name to create a new schedule (character limit = 127).

all-day Enable/disable all day event (default = enable).
date-end <string> Set the schedule end date (YYYY-MM-DD). This option is only available when the schedule type is one-time.
date-start <string> Set the schedule start date (YYYY-MM-DD). This option is only available when the schedule type is one-time.
days {su mo tu we th fr sa} Set the days that the schedule occurs on (default = su mo tu we th fr sa). This option is only available when the schedule type is recurring.
description <string> A description of the schedule.

end-time-type time

The end time type (default - time). This option is only available when all-day is disabled.
start-time-type time The start time type (default - time). This option is only available when all-day is disabled.

time-end <string>

The schedule end time (HH-MM). This option is only available when all-day is disabled.

time-start <string>

The schedule start time (HH-MM). This option is only available when all-day is disabled.

type {one-time | recurring}

The schedule type (default = recurring).

schedule

Use this command to configure the FortiRecorder schedule object settings.

This command is only available on hardware-based FortiAnalyzer models.

Syntax

config fortirecorder schedule object

edit <schedule>

set all-day {enable | disable}

set date-end <string>

set date-start <string>

set days {su mo tu we th fr sa}

set description <string>

set end-time-type time

set start-time-type time

set time-end <string>

set time-start <string>

set type {one-time | recurring}

next

end

Variable

Description

<schedule>

Enter the schedule name of the entry you need to edit or type a new name to create a new schedule (character limit = 127).

all-day Enable/disable all day event (default = enable).
date-end <string> Set the schedule end date (YYYY-MM-DD). This option is only available when the schedule type is one-time.
date-start <string> Set the schedule start date (YYYY-MM-DD). This option is only available when the schedule type is one-time.
days {su mo tu we th fr sa} Set the days that the schedule occurs on (default = su mo tu we th fr sa). This option is only available when the schedule type is recurring.
description <string> A description of the schedule.

end-time-type time

The end time type (default - time). This option is only available when all-day is disabled.
start-time-type time The start time type (default - time). This option is only available when all-day is disabled.

time-end <string>

The schedule end time (HH-MM). This option is only available when all-day is disabled.

time-start <string>

The schedule start time (HH-MM). This option is only available when all-day is disabled.

type {one-time | recurring}

The schedule type (default = recurring).