 |
hiteksoftware.com User discussion forum
|
| View previous topic :: View next topic |
| Author |
Message |
apollonius
Joined: 24 Jul 2007 Posts: 27 Location: Switzerland
|
Posted: Wed Nov 14, 2007 12:22 am Post subject: Parallel execution of task instances via script |
|
|
Hi
I'm using several script tasks by now with Automize 7 to parameterise and run other Automize tasks. Based on some "funny" results (e.g. files handled by a copy task ending up in the wrong target directory), I get the impression that multiple instances of the same task (e.g. a file copy task) can not run in parallel.
My script is triggered by a schedule, parameterises and runs a copy task. After 30 minutes, the script is started again but the copy task has not yet finished. So the script picks up different parameters (from a parameter file), parameterises the same copy task again and runs it. Altough this would be a new instance of this copy task, I get the impression that this instance either interferes with the running instance or does not run properly at all.
Is this observation correct?
Thanks and regards,
Silvan |
|
| Back to top |
|
 |
Robert Site Admin
Joined: 25 May 2006 Posts: 1140
|
Posted: Wed Nov 14, 2007 9:38 am Post subject: |
|
|
1) Each task instance is run as a thread so within the code segments they should not interefere.
2) With overlapping instances, the variables will be an issue since there is only one variable file. If you are using variable values then you are better off preventing overlapping schedules.
3) You can prevent overlapping schedules using the engine menu / syncrhonization menu |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|