Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use VFP to monitor if EXE is running
Message
From
29/04/2013 13:11:10
 
 
To
29/04/2013 10:57:46
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Miscellaneous
Thread ID:
01572163
Message ID:
01572187
Views:
61
I wrote a similar monitoring application several years ago. There is really no way to correctly verify that an application is running or not, and if it is running, that it's actually doing anything useful.

What I did was get a list of running processes, find the one I want, the keep track of CPU cycles. If it hadn't changed over a period of time, it was assume the application had crashed and was still in memory.

>We have an EXE running on the server that consumes MSMQ messages that we use to update out VFP tables. I'd like to run a seperate EXE to make sure the first one is running. Can I do that with VFP?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform