Share Page

Table loop and multi threads

ReplyThanks 2016/12/05 19:46:40 0 0

How can i user the table loop and multi threads ?

I need to log in one and the to some repetitive action in loop from a table,the problem is that i cannot make the bot to get a new link from the table. All threads get the same link.


2016/12/05 20:58:56

Add a Global Table string, after take a row, and then delete it. So it won't take the same link again.

You can send us your module, we will check it for you.

2016/12/06 07:02:56
How can i send you the the module, because i tried to make it global and i had no success
2016/12/06 21:21:41
Please post your module on this forum. If you do not want us to view your whole module, you can copy a new module only with the action you have problem.

2017/12/19 23:53:21

i use this post because the question is the same.
Follow BOT work:

1. load URL from first row in Table Variable (Global)
2. check is fully Load
3. delete first row in Table Variable

4. scrape Data

5. save date.

This works perfect! But i want speed up with mulite Thread.
The Problem is if i run this as mulit Thread operation, all threads will use the same first Variable.
If i set up 5 secounds to wait for the next Thread the Problem will not be 100% solved with 150 Theads at same time.

Any Idea how i can lock a row for 1 runing Thread?
At time i split my URL Table to 10 csv and run as 10 Threads but i want run much more...

2017/12/21 15:01:45

If the table variable is Global, and you choose delete it from Table after use. Then each thread's variable will be different.

Can you export your module, then send it to us? we will check it for you.

<< < 1> >>
Advanced Option