[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference share::zap

Title:Zap Technical Conference
Notice:ZAP Version 5.3 is available. See note 1.1
Moderator:ZAPDEV::MACONI
Created:Mon Feb 24 1986
Last Modified:Mon May 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:170
Total number of notes:492

126.0. "Can I zap users after hours who have been setup as exempt" by FAILTE::TODD (ET phone home) Mon Mar 22 1993 08:33

Hi,

I will be installing Zap within the next couple of days but wondered if I 
could do the following, if so how.

Users who would be set to have their accounts exempt from ZAP deletion, can 
I set a time for these so that they are OK say between 8.30 and 6 pm but 
their processes would be deleted if they were not working after 6pm.  
They should finish at 5.30 and if I give them exemption I don't want their 
accounts to be left logged in overnight.

Is ZAP V5.0 the latest version, if not is there somewhere I can copy it 
from across the network as it is no longer available the usual way from VTX 
Assets.

Thanks

Liz
T.RTitleUserPersonal
Name
DateLines
126.1installed but still not rightFAILTE::TODDET phone homeTue Mar 23 1993 12:3031
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

126.2ZAPDEV::MACONIThe Doctor is InWed Mar 24 1993 12:4735
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