Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to alert when a program is down?
Message
 
 
To
14/01/2011 11:57:31
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01496159
Message ID:
01496227
Views:
55
>>I have a program (VFP9) running on a custom computer 24/7. It is very important for the customer that the program never stops or that someone is alerted if it stops. But sometimes, for whatever reasons, it will hang. Is there a way to monitor the program from a Windows service or whatever other way?
>
>We have the same issue with some of our programs - they MUST run 24/7.
>Other failure modes are important too.
> --The power could go out.
> --The computer could fail.
>
>You need to have an offsite computer monitor that the first computer is doing its work.
>A failed computer cannot notify you of anything.
>
>I would suggest having the working computer contact a web server every minute.
>Then have script on that web server that will send alerts if it does not hear from the work computer in 5 minutes or so.
>You can send SMS to your phone easily via your cell phone providers sms gateway http://en.wikipedia.org/wiki/List_of_SMS_gateways
>
>You can get web hosting very cheaply, and there is a lot of sample PHP code available.
>
>Good Luck!

Thank you. I will consider all suggestions.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform