Jump to content

Monitor an exe/Alert if an exe fails


Recommended Posts

Is there a script available that monitors a file and if it fails alert? I've seen the email scripts, so now I'm looking to see if someone has created a script that monitors & alerts if a file fails.

'Files' don't fail, processes do. What process are you monitoring and what is the failure indication you are watching for: i.e. process stopping, exit code, output file not generated, error message pop up... :whistle:

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

  • Moderators

Is there a script available that monitors a file and if it fails alert? I've seen the email scripts, so now I'm looking to see if someone has created a script that monitors & alerts if a file fails.

That's a fairly broad question, do you mean like a Non-Responsive .exe? If so, Victt (don't know if that's how you spell it) made a UDF for this.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

Can you give us a more precise example of what you want to do?

Sorry for the broad question. I figured out what to do. I created a service to run the exe and if it fails to notify me. Thanks anyways. I tried to delete this but I didnt see the option.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...