We help IT Professionals succeed at work.
Get Started

Kill process if it is older than 30 seconds

rustyrpage asked
Last Modified: 2013-11-05
We have a shipping application that our ERP vendor has written that has a bug in it when it interfaces with a third party USPS module.  Basically, the ERP system passes off an XML file to the third party USPS application, which runs, prints the label & then closes out.  The problem is that if there is any error, it will just lock up the whole application & someone with server access has to go in & kill the EXE.  So, I have two options to fix this:

1) Make a scrip that checks to see if dazzle.exe has been running for more than 30 seconds & if so, kill it.  (how intensive would this be from a resource standpoint?)

2) Make a shortcut that our shipping folks can click on that would kill dazzle.exe on the server (keeping in mind that they obviously are not admins on the server, so I would have to determine a secure way to get around that)

Any help would be greatly appreciated.
Watch Question
Most Valuable Expert 2019
Most Valuable Expert 2018
This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE