| Hi,
I have now installed ZAP but don't think I have the exceptions right. I
thought I have set it up that it would `ZAP' after 6pm but the only people
you are getting messages are the people who are in the exceptions list.
This is what I have setup in ZAP$DIR:ZAP$CONFIG
0 DEBUG FALSE
1 ENABLE TRUE
2 GROUP_DW TRUE
3 HISTORY TRUE
4 IGNORE_SUSP FALSE
5 INSWAP FALSE
6 LENIENT TRUE
7 SEND 20,15,10,5,2
8 SENSITIVITY 5
9 TRACEBACK TRUE
This is a record from ZAP$DIR:ZAP$EXCEPTION
4 * TODD [21,2] * ALL * 00:00 23:59 Y * STOP
5 * KAKAV [21,1] * ALL * 00:00 23:59 Y * STOP
6 * BEADIE [350,65] * ALL * 8:00 18:00 Y 20 STOP
4 and 5 are OK but 6 starts getting messages after a couple of minutes
telling them how much idle time they have accumulated.
What's wrong have I got the times the wrong way round?
Thanks
liz
|
| Hi,
From your messages, I am assuming that you want to do the following:
1. All users are immune from 8am until 6pm
2. Some users are to be stopped if idle after 6pm
3. The remaining users are always immune
To code this, you should remember that ZAP will use the FIRST rule that
it finds for the user. Since this can change over time, due to the FROM and
UNTIL times, you need to be sure that it is set up correctly. Always code your
global rules LAST and your exceptions before this. To do the above, you would
use:
6 * KAKAV [*,*] * ALL * 08:00 18:00 Y * STOP
^Exception to make KAKAV immune from 8am until 6pm
7 * TODD [*,*] * ALL * 08:00 18:00 Y * STOP
^Exception to make TODD immune from 8am until 6pm
8 * * [100,*] * ALL * 00:00 23:59 Y 20 STOP
^Exception to make all [100,*] users have a 20 minute limit
9 * * [*,*] * ALL * 00:00 23:59 Y * STOP
^Global rule to make all users immune
This set of rules does the following:
All users are immune all the time,
Unless they are in [100,*] giving them a 20 minute limit
Unless they are TODD between 8am and 6pm making them immune
Unless they are KAKAV between 8am and 6pm making them immune
I hope that this helps to clear it up a bit.
Keith Maconi
|