Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Who's on the system?
Message
De
07/09/2013 01:48:06
Walter Meester
HoogkarspelPays-Bas
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01582440
Message ID:
01582461
Vues:
67
>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
Fil
Voir

Click here to load this message in the networking platform