Multiple Tasks using same EXE
Multiple Tasks using same EXE
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
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
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
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.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