You are viewing limited content. For full access, please sign in.

Question

Question

two quick fields sessions scanning same folder

asked on July 13, 2015

Logic instructs that this will not work but just to confirm. 

If we have two QF sessions looking into same folder to scan/get documents and both sessions are scheduled to run after 1 minute.

So, can we do something like this,

- limit the first session to get first 100 documents from the folder and starts processing them.

- Then the second session kicks in and it reads the next 100 documents?

 

Or is it like, when first session will run, it will lock all the document under the scanning folder?

0 0

Replies

replied on July 13, 2015

Hi Uzair,

 

Having 2 instances of Quick Fields monitoring the same folder would indeed be a bad idea. I would expect to see frequent errors relating to document locks. That's not to say it's impossible.

 

I'm assuming you are using QF Agent to control the session initiation or is this a manual process? If you are using QF Agent I would try and put the sessions hours apart just to be sure. If it's in the day and it's a manual process you might be safer moving the documents around (possibly using some kind of old school .bat file or something) before running the QF sessions. This way you can be sure you will never get document lock issues as they will be monitoring separate folders. QF as we know isn't the best at handling errors, so probably best to try and avoid giving it any ammo wink

 

yes

1 0
replied on July 13, 2015

Thanks Chris.

That's what I thought, but just raised it as a 'miracle' could happen smiley

That's what I replied during a discussion with client. So the solution is to have each session scanning a specific folder. And as running sessions every minute is the requirement, so we would stick to it.

0 0
replied on July 13, 2015

That's what I replied during a discussion with client. So the solution is to have each session scanning a specific folder. And as running sessions every minute is the requirement, so we would stick to it.

 

Bingo! That would be the safest approach. smileyyes

1 0
replied on July 13, 2015

Thanks Chris. yes

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.