cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
kotman
Level 7
Report Inappropriate Content
Message 1 of 3

A Schedule time to minutes problem ?

Jump to solution

Hello,

I have some problem regarding activate a policy in specific time using WebGateway 7.1.0.5.

Before , We applied  some rule a schedule time to hours and these rule worked successful using https://community.mcafee.com/thread/34611 but we did not work a schedule time to minutes.

How can I apply a rule in a schedule time to hours and minutes like, from 10 to 10:20  and from 12:30 to 13:30  in 24 hour logic ?

With Kind Regards

Baris Kotman

1 Solution

Accepted Solutions
eelsasser
McAfee Retired
McAfee Retired
Report Inappropriate Content
Message 2 of 3

Re: A Schedule time to minutes problem ?

Jump to solution

There are many ways to do this depending on the logic of the rest of the rule Rule Set. But if you want to only allow browsing between 10:00-10:20 and 12:30-13:30, then something like this might work for you.

Schedule
Enabled
Applies to Requests: True / Responses: False / Embedded Objects: False
Always
EnabledRuleActionEventsComments
Enabled10:00-10:20
1: DateTime.Time.Hour equals 10
2: AND DateTime.Time.Minute less than or equals 20
Stop Rule Set
Enabled12:30-13:30
1: (DateTime.Time.Hour equals 12
2: AND DateTime.Time.Minute greater than or equals 30)
3: OR (DateTime.Time.Hour equals 13
4: AND DateTime.Time.Minute less than or equals 30)
Stop Rule Set
EnabledBlock All Other Times
Always
Block<(Default)>

I attached this rule set. If you type it yourself, be mindful of the parentheses and AND/ORs.

View solution in original post

2 Replies
eelsasser
McAfee Retired
McAfee Retired
Report Inappropriate Content
Message 2 of 3

Re: A Schedule time to minutes problem ?

Jump to solution

There are many ways to do this depending on the logic of the rest of the rule Rule Set. But if you want to only allow browsing between 10:00-10:20 and 12:30-13:30, then something like this might work for you.

Schedule
Enabled
Applies to Requests: True / Responses: False / Embedded Objects: False
Always
EnabledRuleActionEventsComments
Enabled10:00-10:20
1: DateTime.Time.Hour equals 10
2: AND DateTime.Time.Minute less than or equals 20
Stop Rule Set
Enabled12:30-13:30
1: (DateTime.Time.Hour equals 12
2: AND DateTime.Time.Minute greater than or equals 30)
3: OR (DateTime.Time.Hour equals 13
4: AND DateTime.Time.Minute less than or equals 30)
Stop Rule Set
EnabledBlock All Other Times
Always
Block<(Default)>

I attached this rule set. If you type it yourself, be mindful of the parentheses and AND/ORs.

View solution in original post

kotman
Level 7
Report Inappropriate Content
Message 3 of 3

Re: A Schedule time to minutes problem ?

Jump to solution

Hello Eelsasser,

We tried this rule and it worked well.

Thanks so much for your answer.

Baris

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community