thread safe project

Post any question you may have in regards to GoAnywhere Director and let our talented support staff and other users assist you.

thread safe project

Postby sivakurapati » Mon Nov 08, 2010 10:43 am

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
sivakurapati
 
Posts: 2
Joined: Mon Nov 08, 2010 10:16 am

Re: thread safe project

Postby Support_Duane » Tue Feb 14, 2012 4:47 pm

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.
Support_Duane
Support Specialist
 
Posts: 65
Joined: Thu Mar 05, 2009 3:49 pm


Return to Community Forum

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron