How to Create a Schedule that Spans Two Days

How to Create a Schedule that Spans Two Days

20905
Created On 09/25/18 19:30 PM - Last Modified 06/13/23 13:48 PM


Resolution


Steps

To create a schedule which spans more than one day, for example from 10pm to 5am:

  • Create a schedule, go to Objects > Schedules.

    schedule.pngSchedule that spans past midnight should be split between PM and AM

  • Add the schedule to a policy, go to Policies tab.  Click on the Options link for a security policy.

    security policy with schedule.pngSecurity Policy Actions with a Schedule

  • To display the schedule setting, run command: 
    admin@myNGFW# show schedule    (add 'shared|vsys1|vsys2|...' for multiVSYS)
    schedule {
      multiday {
        schedule-type {
          recurring {
            daily [ 22:00-23:59 00:00-05:00];
          }
        }
      }
    }
    [edit]                     

 

 

If time spanning multiple days is put in a single schedule (eg. start 22:00 end 05:00) an error message will appear:

error message.pngEnd time is earlier that start time error message

 

owner: kkondo



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClZOCA0&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language