E
Eduard Witteveen
Dear list,
In the corporation, we want to know who is using which computer, and do
some phone routing based upon this information.
When a user log's uses it's account to login, the phone on the desk
should also ring on the same desk. When the user leave's / sleeping, we
dont want the phone to ring, so we want to detect this also.
By using a service i can keep a program running, without irritating the
users with icon's / message's at startup,.. etc so i want to use a service.
My problem is, how i can catch the login / inactivity / logout. Maybe
there are some hooks which i could use? or should i look at the
processlist every so much time, and determine the activity based upon this?
In the corporation, we want to know who is using which computer, and do
some phone routing based upon this information.
When a user log's uses it's account to login, the phone on the desk
should also ring on the same desk. When the user leave's / sleeping, we
dont want the phone to ring, so we want to detect this also.
By using a service i can keep a program running, without irritating the
users with icon's / message's at startup,.. etc so i want to use a service.
My problem is, how i can catch the login / inactivity / logout. Maybe
there are some hooks which i could use? or should i look at the
processlist every so much time, and determine the activity based upon this?