Hello.
Can a task run on multiple instances with different data?
If not, can I make oen or more copies of a task and run them in parallel working on different data?
Thank you in advance...
Parallel run / multiple instance run
Re: Parallel run / multiple instance run
A single task can only be performed once at a single point in time. But you can run one task sequentially several times with different parameters.
Look at the Start task action
If you need simultaneous work of one task with different parameters, you can run it in a separate process using Runtime module of RoboTask.
Look at the Start task action
If you need simultaneous work of one task with different parameters, you can run it in a separate process using Runtime module of RoboTask.
Oleg Yershov
Re: Parallel run / multiple instance run
Thank you for the explanation.
I'm going to read the Runtime module of RoboTask documentation, since that's the case: simultaneous work of one task with different parameters.
At that point the question might be: how many simultaneous instances may run this way? Could 10 be acceptable?
I'm going to read the Runtime module of RoboTask documentation, since that's the case: simultaneous work of one task with different parameters.
At that point the question might be: how many simultaneous instances may run this way? Could 10 be acceptable?
Re: Parallel run / multiple instance run
As much as your computer's resources allow....how many simultaneous instances may run this way?
Oleg Yershov
Re: Parallel run / multiple instance run
Thank you once again...
About running a task in a separate process using Runtime module of RoboTask let say in n instances, since this task opens an embedded Chromium window and works on it (Mouse move, keyboard emulation, ...):
1. is it correct that the n windows cannot overlap in order mess up the interaction with mouse and keyboard?
2. also, must the n windows be fully visible (I mean they cannot stay partially "outside" the screen)?
If so, I guess the number of simultaneous instances would be not greater they 4... but that would be enough!
About running a task in a separate process using Runtime module of RoboTask let say in n instances, since this task opens an embedded Chromium window and works on it (Mouse move, keyboard emulation, ...):
1. is it correct that the n windows cannot overlap in order mess up the interaction with mouse and keyboard?
2. also, must the n windows be fully visible (I mean they cannot stay partially "outside" the screen)?
If so, I guess the number of simultaneous instances would be not greater they 4... but that would be enough!
Re: Parallel run / multiple instance run
The computer has only one mouse and only one keyboard. Mouse and keyboard simulation is a global process. If you run 2 tasks that use mouse and keyboard simulation at the same time, it is likely that both tasks will fail. You will get completely unpredictable results.
Moreover, the task will fail if the user starts moving the mouse or pressing the keyboard keys while such task is running (task with mouse/keyboard simulation).
If you want to use mouse or keyboard simulation, you only need to perform these tasks sequentially. Start the next task only when the previous one has finished.
Miracles don't happen.
Moreover, the task will fail if the user starts moving the mouse or pressing the keyboard keys while such task is running (task with mouse/keyboard simulation).
If you want to use mouse or keyboard simulation, you only need to perform these tasks sequentially. Start the next task only when the previous one has finished.
Miracles don't happen.
Oleg Yershov
Re: Parallel run / multiple instance run
I see...Mouse and keyboard simulation is a global process.

The problem is that thetask with the full set of data would take 20 hours...you only need to perform these tasks sequentially
I wanted to reduce that time by running it in parallel on a split set of data, but, as you just explained, that is not possible in the way I wanted to do.
Before leaving it I was thinking two others ways:
1. If 2 users remote int the server and simultaneously run a single instance of the task with half set of data? Could that work as far as you know? Obviously keeping the session not locked and without screensaver, etc...
2. I could ask the boss to buy more licences and run the task on multiple VM, one single instance per VM with a small set of data...
Those are my last questions on this topic.
Thank you very much for your support, for your product and for the very long DEMO time you allow with full funcionality!