hiteksoftware.com Forum Index hiteksoftware.com
User discussion forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Parallel execution of task instances via script

 
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Task Sequences, Chains and Scripts
View previous topic :: View next topic  
Author Message
apollonius



Joined: 24 Jul 2007
Posts: 27
Location: Switzerland

PostPosted: Wed Nov 14, 2007 12:22 am    Post subject: Parallel execution of task instances via script Reply with quote

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
View user's profile Send private message
Robert
Site Admin


Joined: 25 May 2006
Posts: 1140

PostPosted: Wed Nov 14, 2007 9:38 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Task Sequences, Chains and Scripts All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
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