Chapter 7 Firewall for FortiOS 5.0 : Building firewall objects and policies : Firewall Schedule - One-time
  
Firewall Schedule - One-time
The company wants to change over their web site image to reference the new year. They have decided to take this opportunity to do some hardware upgrades as well. Their web site is business oriented so they have determined that over New Year’s Eve there will be very limited traffic.
They are going to need a maintenance window of 2 hours bracketing midnight on New Year’s Eve.
Go to Firewall Objects > Schedule > One-time.
Create a new schedule
Fill out the fields with the following information:
 
Year
Month
Day
Hour
Minute
Start
2012
12
31
23
00
Stop
2013
1
1
1
00
Select OK
Enter the following CLI command:
config firewall schedule onetime
edit maintenance_window
set start 23:00 2012/12/31
set end 01:00 2013/01/01
next
end
To verify that the schedule was added correctly:
Go to Firewall Objects > Schedule > One-time
Check that the schedule with the name you used has been added to the list of recurring schedules and that the listed settings are correct.
Enter the following CLI command:
config firewall schedule onetime
edit <the name of the schedule you wish to verify>
show full-configuration