Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


andymcadam
2015-07-13T08:42:07Z
I have a job that is triggered by different file triggers, two files arrive at the same time on an sFTP site the triggers are watching and it causes the job to run twice at the same time. This is a big problem as the job should only be ran once at a time. I have the tickbox ticked for "Do not start job if job already running" "put job in queue" but it still does it.

this is critical to solve. I am running VC version 7.6.6 on windows 2008 R2
Sponsor
Forum information
Support
2015-07-13T09:14:44Z
Sounds strange. Try adding a Wait Task and sleep for 30 seconds. Then create a File write Task that writes the current time to a file. I am quite sure that you will see a 30 second delay.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
andymcadam
2015-07-13T13:29:53Z
The job splits into two sets of tasks when it runs depending on which trigger starts it, I've added a delay of two minutes to one of the sets of tasks to stop the clashing. The log does report though that the job started twice at the same time, so this is definitely a bug.
Support
2015-07-13T13:31:06Z
Have you checked "Run Tasks in order"?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
andymcadam
2015-07-13T13:46:33Z
Quote:

Have you checked "Run Tasks in order"?



Yes, of course I have that ticked (it's ticked by default). I have two remote file triggers looking for files on an sFTP site. the job has six tasks, the first three are ran based on a condition on the trigger that starts the job, then exits, the second three are ran when the condition doesn't match.

the log for the job clearly shows it started it twice at the same time.
Support
2015-07-13T15:16:35Z
You are right. We have done a fix in this version:

http://www.visualcron.co....aspx?g=posts&t=5058 

Thank you for the report!
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top