Multiple Tasks using same EXE

Discuss RoboTask here
Post Reply
lordgrinz
Posts: 7
Joined: Fri Jul 22, 2011 5:21 pm
Location: United States

Multiple Tasks using same EXE

Post 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.
Oleg
Site Admin
Posts: 3202
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Multiple Tasks using same EXE

Post 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
lordgrinz
Posts: 7
Joined: Fri Jul 22, 2011 5:21 pm
Location: United States

Multiple Tasks using same EXE

Post 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.
Post Reply