cancel
Showing results for 
Search instead for 
Did you mean: 
ahmad.hasan
Level 9

How can i apply a policy based on scheduled time??

Jump to solution

hello..

i have some problem regarding activate a policy in specific time.. using WebGateway 7.0.2

how can i apply a rule in a schedule time like (from 8am to 2pm and from 3pm to 6pm each day exept Friday)??

regards,

0 Kudos
1 Solution

Accepted Solutions

Re: How can i apply a policy based on scheduled time??

Jump to solution

Hello!

Expand the condition criteria of you rule to check for the time and the day of the week.

If you want to run this condition for several rules, you can add these as the condition for the whole rule set or add a rule to the beginning of the rule set that stops processing of the rule set if the date-time condition is not met.

I am adding a screenshot of a single rule that checks for a URL category and then adds the day and time criteria (note that the "Weekday" property starts with Sunday=1 and the "Hour" property is in 24 hour logic. Also note the brackets set at the bottom of the dialog that cause the correct combination of the ANDs and ORs.

rule.png

Best regards

Martin

0 Kudos
6 Replies

Re: How can i apply a policy based on scheduled time??

Jump to solution

Hello!

Expand the condition criteria of you rule to check for the time and the day of the week.

If you want to run this condition for several rules, you can add these as the condition for the whole rule set or add a rule to the beginning of the rule set that stops processing of the rule set if the date-time condition is not met.

I am adding a screenshot of a single rule that checks for a URL category and then adds the day and time criteria (note that the "Weekday" property starts with Sunday=1 and the "Hour" property is in 24 hour logic. Also note the brackets set at the bottom of the dialog that cause the correct combination of the ANDs and ORs.

rule.png

Best regards

Martin

0 Kudos
ahmad.hasan
Level 9

Re: How can i apply a policy based on scheduled time??

Jump to solution

Hello Martin,

thanks for the response.

i'll try this rule and reply to you if it isn't work well.

regards.

0 Kudos
ahmad.hasan
Level 9

Re: How can i apply a policy based on scheduled time??

Jump to solution

hello Martin..

i have another issue regarding porno images..

i blocked the pornography category in a rule but when i search in google for sex pics or other words for porno images they are appear without blocking.. some of videos are blocked but others not,, but all pics aren't block..

is it normal or these are not categorized as porno??

this is my rule..

a rule...jpg

any advise plz from any body??

thanks to all..

regards.

0 Kudos
VriendP
Level 7

Re: How can i apply a policy based on scheduled time??

Jump to solution

I think porno images in google arent being blocked because they are actually google content. Right-clicking such an image and selecting properties will bring you clarity. No porn url, no blocking.

0 Kudos
lsb_randyc
Level 7

Re: How can i apply a policy based on scheduled time??

Jump to solution

Hello Martin,

I'm trying to do the same thing you have described here, with one small change.  In your example, you explain how to apply this ruleset regarding just 1 category, Personal Pages.  I want to do this same thing, only with multiple categories allowed between the hours of 5 PM and 7 AM.  Do I create the ruleset like my example below, or is there a better way to do it?

McAfee Rule.jpg

Message was edited by: lsb_randyc on 9/13/11 10:43:46 AM CDT
0 Kudos
eelsasser
Level 15

Re: How can i apply a policy based on scheduled time??

Jump to solution

Create a Category List and add multiple categories to it instead of have multiple ORs for different line items.

URL.Categories at least one in list "Allowed Off-Hours Categories"

AND DateTime.Hour greater 17

AND DateTime.Hour Less 7

0 Kudos