I have already posted this question in the forum for "General Computing" but since I didnt get any reply till now, i just thought may be i will ask you guys if you can help me on this.(Bert has confirmed me saying that its ok for my question to be posted in more than one forum !!!)
I am faced with a typical problem at my workplace. We use Borland's StarTeam as a configuration management tool for my project.Since, we have fixed number of licenses, at a time only fixed number of people can login to it.(Thats what I think when it gives the error message) Others trying to login will not be able to do so if that fixed number are already logged in.Now, most of the time I find that people who have logged in, forget to logoff and as a result what happens is that even though we have enough licenses, users are unable to login to the Server and get error messages telling them that the maximum number of licenses are in use. (They have to then painfully send mails to all in the project to log out of the server if one is not using it.) So, faced with this problem,I want to write some kind of program which will gracefully logoff the users from the StarTeam server who are inactive (Dont know how to check for this now !!!) for a given period of time.(Say half an hour or so).
Also, I plan to put this program in the OS scheduler (Which happens to be Microsoft in my case) that would run every hour and run the program I have written and gracefully logoff users who have been inactive for a certain period of time. Please guide me on how to go about solving this problem.