michtsoi
asked on
Monitor VB program status with email alert
Hi experts,
Background:
-----------------
I have several VB programs keep running on several computers in local network, for example generating CSV and sending email to customer.
They are not very stable and often hang up. The most common reason is that the database is too busy for connection at peak time and an error alert appear.
I need to use vnc to remote to these computers and check that whether all the VB programs are working properly. If an error occurs, I need to close the VB program manually and restart it again.
My question:
------------------
Is there any program or script that will alerts me by email whenever a VB program on that machine fails ?
For example, when I receive an email with title [202.181.xxx.xxx Generating Stock CSV fail], I will remote to that machine by VNC immediately and restart the problematic VB program.
Thank you.
Background:
-----------------
I have several VB programs keep running on several computers in local network, for example generating CSV and sending email to customer.
They are not very stable and often hang up. The most common reason is that the database is too busy for connection at peak time and an error alert appear.
I need to use vnc to remote to these computers and check that whether all the VB programs are working properly. If an error occurs, I need to close the VB program manually and restart it again.
My question:
------------------
Is there any program or script that will alerts me by email whenever a VB program on that machine fails ?
For example, when I receive an email with title [202.181.xxx.xxx Generating Stock CSV fail], I will remote to that machine by VNC immediately and restart the problematic VB program.
Thank you.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
I will try to add a "heartbeat" function to every VB program I want to monitor.