Page 1 of 1
Multiple Tasks using same EXE
Posted: Fri Jul 22, 2011 5:41 pm
by lordgrinz
I am running an old legacy program I created in Clipper, it runs in one folder. If I have multiple tasks set to go off at 1pm using this same EXE, then they all end up crashing because the EXE is open and running. Is there some way to get the tasks to wait for any tasks using that EXE to finish? I see under options a "Start selected tasks sequentially", which does about the same thing, but I want all the tasks to run automatically at 1pm. I tried "Wait for process to finish" action on each of these tasks, but that doesn't seem to work.
Multiple Tasks using same EXE
Posted: Sat Jul 23, 2011 6:58 am
by Oleg
Probably you are using incorrect parameters in "Wait for process finish"
Also pay attention that the action don't wait if process doesn't exist in memory when action is being executed
Look at the actions "Wait for task". This action waits when specified task is being executed
Multiple Tasks using same EXE
Posted: Mon Jul 25, 2011 10:22 am
by lordgrinz
Oleg wrote:Probably you are using incorrect parameters in "Wait for process finish"
Also pay attention that the action don't wait if process doesn't exist in memory when action is being executed
Look at the actions "Wait for task". This action waits when specified task is being executed
The legacy program may be an issue with memory usage, not sure. I also don't think I can use Wait for Specified Task, because several are all scheduled to run at the same time, you would never know which one is running at any given time.