Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cause Scheduled Program to 'Fail'

Status
Not open for further replies.

CmdrGravy

Programmer
Dec 4, 2002
42
GB
Hi,

I'm using Seagate Info 7.5

Most of our reporting needs to take place on a MySQL database which is populated by a VB program every night around midnight. If this program crashes then the MySQL database is not populated and the reports return blank.

This VB program is also scheduled to run in Seagate Info.

I am currently using Events to ensure that the reports do not run if this VB program has not finished processing ( it sets an Event flag when it completes ).

What I would like to do is find a way of getting the VB Program to tell Seagate it hasn't ran successfully but has failed at some point so the Event flag never gets set.

I think the situation is that as soon as a program is completes and is unloaded from the memory Seagate assumes that it has ran successfully, I can't find much in the way of documentation for this - can anyone help me ?
 
I can't recall if SI supported file type events, but rather than having SI execute based on completion, consider having VB write a fiel after successful completion of it's tasks and using that as the event trigger.

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top