jbaanm
6th January 2009, 02:29
For some users we want to run a processing session when loging out, is this possible in baanIV, if ys how.
Thanks in advance
norwim
6th January 2009, 09:53
Hi there,
afaik there is no easy method to define a session that has to be executed when a bshell ends.
If your users should work with the ascii interface instead of GUI, then it will be easy to alter their shell profile and add a session after ba6.1 is called. Like:
---old .profile---
BSE=/baan/bse
export BSE
BSE_TMP=$BSE/tmp
export BSE_TMP
PATH=$PATH:$BSE/bin
ba6.1
exit
---end old .profile---
add between ba6.1 and exit:
TERM=vt100
export TERM
BAMODE=1
export BAMODE
ba6.1 SESSIONNAME 2> /dev/null
I can't think of an easy way to do something similar with the GUI.
What about monitoring user activity (e.g. every 5 Minutes) with a script and starting the session once you notice a user that has logged out?
hth
Norbert
Hitesh Shah
6th January 2009, 19:47
I can't think of an easy way to do something similar with the GUI.
What about monitoring user activity (e.g. every 5 Minutes) with a script and starting the session once you notice a user that has logged out?
hth
Norbert
Yes monitoring 3GL session as a startup session is definitely a way . U can check jwx9999 in (Replicate FS objects across servers (http://www.baanboard.com/baanboard/showthread.php?t=10551) ) for an example . I think 5 mins delay is too long . We used to copy changed script / programs to remote server with such monitoring program every second (suspend 1000 ) , and it has given great results to us.
jbaanm
7th January 2009, 17:05
I have created a 3GL script to run every 1 min as a cron job which will do the end clean upp process.
Is there a command or way to clean up licence entry which are not in use.
Thanks
bdittmar
7th January 2009, 17:11
I have created a 3GL script to run every 1 min as a cron job which will do the end clean upp process.
Is there a command or way to clean up licence entry which are not in use.
Thanks
Hello,
licmon6.1 -c will clean.
-c : cleanup orphaned local licences
Regards