Hi,
I have a job and this runs twice after it is triggered (by a file create trigger).
The job is setup as put in queue and do not run if it's running.
There are three tasks in there:
- Create random string with .NET task (temp string)
- Copy files to Path containing random string (Verplaats de file naar de dropbox)
- Rename directory using random string (Add .Ready to begin upload)
Today I had two files triggering this job and this happened:
7/18/2012 12:59:55 PM Info Job started: TripleA - ZV files naar Profnet2
7/18/2012 12:59:55 PM Info Job started: TripleA - ZV files naar Profnet2
7/18/2012 12:59:55 PM Info Task started: temp string (281548)
7/18/2012 12:59:55 PM Info Task started: temp string (281549)
7/18/2012 12:59:55 PM Info Task completed: temp string (281548)
7/18/2012 12:59:55 PM Info Task started: Verplaats de file naar de dropbox (281550)
7/18/2012 12:59:55 PM Info Task completed: Verplaats de file naar de dropbox (281550)
7/18/2012 12:59:55 PM Info Task started: Add .Ready to begin upload (281551)
7/18/2012 12:59:55 PM Info Task completed: temp string (281549)
7/18/2012 12:59:55 PM Info Impersonation result 2: True
7/18/2012 12:59:55 PM Err Exception in Task: Could not find a part of the path 'H:\Profnet2Dropbox\Q264SL20UJ'.
7/18/2012 12:59:55 PM Info Task completed: Add .Ready to begin upload (281551)
7/18/2012 12:59:55 PM Info Task started: Verplaats de file naar de dropbox (281552)
7/18/2012 12:59:55 PM Info Task completed: Verplaats de file naar de dropbox (281552)
7/18/2012 12:59:55 PM Info Task started: Add .Ready to begin upload (281553)
7/18/2012 12:59:55 PM Info Job completed: TripleA - ZV files naar Profnet2
7/18/2012 12:59:55 PM Info Impersonation result 2: True
7/18/2012 12:59:55 PM Info Task completed: Add .Ready to begin upload (281553)
7/18/2012 12:59:55 PM Info Job completed: TripleA - ZV files naar Profnet2
You can see the jobs runs twice simultaneously and you can see an error here. During the 1st run, the last task is using the temp string from the 2nd run.
The 2nd run has to put in queue and can't run any tasks before the 1st run completes. This is how I set it up. This is a bug..
For now I removed my checkboxes in at job level, saved it, put the boxes back and saved it again. Hopefully this will not happen again.
Regards,
Erik.
Uses Visualcron since 2006.