Thanks for the swift reply. I think I understand this, I just downloaded the manual today. I don't want to complicate things too much, but in my app each job is actually a windows forms application, there are 15 copies of the app running, each one running on a different pc, and it must run interactively, which is a bad constraint. My job control app needs to know when these apps are done, and users should be able to kill individual jobs in the list, or all jobs if they want. Can I customize your GUI? I have written an app that does this with sockets and WMI that has been running for several months, but I dont see why I should maintain this when products like yours exist. What are the implications of this in licensing terms? Thanks in advance, George : Let's say you have 5 "worker" jobs in a group. : For every group create an extra "control" job that launches other : jobs in group as below : Dim( pid, number ) : Run( "24x7.exe /JOB [job id 1]", "", pid ) : Run( "24x7.exe /JOB [job id 2]", "", pid ) : Run( "24x7.exe /JOB [job id 3]", "", pid ) : Run( "24x7.exe /JOB [job id 4]", "", pid ) : Run( "24x7.exe /JOB [job id 5]", "", pid ) : This will start all 5 "worker" jobs concurently (parallel) : Now to create a sequential group run (group after group after group) set each : "worker" job to create a unique semaphore file on job finish, : and set each control file for the "following" group to watch for : "previous" group files semaphore files. You can use the built-in : Dependencies Editor tool to do this graphically. Make sure every : "worker" job is set to run synchronously.
|