Fortinet white logo
Fortinet white logo

Administration Guide

Creating a schedule

Creating a schedule

Use schedules to control when policies are enforced. For example, you can use a schedule to control when an access control list policy is enforced.

NOTE: If the status of an ACL policy is inactive, the schedule is ignored.

You can create a one-time schedule, a recurring schedule, or a group schedule:

  • Use a one-time schedule when you want a policy enforced for a specified period.
  • Use a recurring schedule when you want a policy enforced for specified hours and days every week.
  • Use a group schedule to combine one-time schedules and recurring schedules.
To create a one-time schedule:

config system schedule onetime

edit <schedule_name>

set start <time_date>

set end <time_date>

end

For example:

config system schedule onetime

edit schedule1

set start 07:00 2019/03/22

set end 07:00 2019/03/29

end

To create a recurring schedule:

config system schedule recurring

edit <schedule_name>

set day {monday | tuesday | wednesday | thursday | friday | saturday | sunday}

set start <time>

set end <time>

end

For example:

config system schedule recurring

edit schedule2

set day monday wednesday friday

set start 07:00

set end 08:00

end

To create a group schedule:

config system schedule group

edit <schedule_group_name>

set member <schedule_name1> <schedule_name2> ...

end

For example:

config system schedule group

edit group1

set member schedule1 schedule2

end

Creating a schedule

Creating a schedule

Use schedules to control when policies are enforced. For example, you can use a schedule to control when an access control list policy is enforced.

NOTE: If the status of an ACL policy is inactive, the schedule is ignored.

You can create a one-time schedule, a recurring schedule, or a group schedule:

  • Use a one-time schedule when you want a policy enforced for a specified period.
  • Use a recurring schedule when you want a policy enforced for specified hours and days every week.
  • Use a group schedule to combine one-time schedules and recurring schedules.
To create a one-time schedule:

config system schedule onetime

edit <schedule_name>

set start <time_date>

set end <time_date>

end

For example:

config system schedule onetime

edit schedule1

set start 07:00 2019/03/22

set end 07:00 2019/03/29

end

To create a recurring schedule:

config system schedule recurring

edit <schedule_name>

set day {monday | tuesday | wednesday | thursday | friday | saturday | sunday}

set start <time>

set end <time>

end

For example:

config system schedule recurring

edit schedule2

set day monday wednesday friday

set start 07:00

set end 08:00

end

To create a group schedule:

config system schedule group

edit <schedule_group_name>

set member <schedule_name1> <schedule_name2> ...

end

For example:

config system schedule group

edit group1

set member schedule1 schedule2

end