Page 1 of 1

thread safe project

Posted: Mon Nov 08, 2010 10:43 am
by sivakurapati
Hi,

I have a project setup as not thread safe, and I have the option enable to error out if the executable fails so that I can send emails upon the job fails.

Since the project is mentioned as not thread safe, I am getting emails when ever the scheduler is trying to invoke an instance of the project while an instance is already running.

I can always send an email from the project itself instead of sending the email from scheduler, but in that case I was unable to get the job log text attached to the email upon failure.

Please help me out to disable email message when the scheduler tries to schedule a new instance when an instance is already running.

Thanks in advance,

Siva Kurapati

Re: thread safe project

Posted: Tue Feb 14, 2012 4:47 pm
by Support_Duane
When an attempt is made to start a non-thread-safe project when an instance of that project is already running, an error is thrown right away and the project does not ever start. This is why you cannot get an e-mail from the project itself when this happens. (the project has to be running in order to send an e-mail)
There is no way to tell the scheduler not to send an e-mail when the project is already running. I would think that you would want to know this, 1. So you could lengthen the delay time between runs of the project if that's why the problem is occurring or 2. So that you could go out and find out why a project is hanging and fix the problem.