Walter Meester
HoogkarspelPays-Bas
Versions des environnements
Network:
Windows 2008 Server
>I have a need to be able to see who is running the Visual FoxPro app we wrote and is currently running at a clients. I developed
>a program that runs from all the menu picks in our system and based on parameters that are passed to it, the
>selected application is run. Part of this "control" progam writes a record to a log file noting the operator id, the date, the time,
>and the application being run. When the operator exits the app, the log file record is modified to show the operator being on
>the menu. When they exit the menu, the log file is modified and her record is deleted.
>
>This works okay, but I'd like to know if they is any sort of system function that any of you know of that would list all operators
>currently in the system and what process they are running.
>
>Thanks in advance.
>
>Brad
Brad, this is very common. WE have something similar to this. We have added one thing. Each instances of our application has a keepalive timer: It updates a datetime field in the log every minute.
If analyzing the log and you find a record where the keepalive datetime stamp is more than a two minutes ago, it is safe to assume the application instance has crashed or got locked.
BTW, we are using the date and time from the server to do this to avoid problems on PCs with incorrect dates and times
Walter,
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement