I have a cron job that scp/ssh to hosts in an array @host and does a task on the array based on the args passed. i.e. dothis -hlouie,suzie,craig,irene -d (d is the task it's doing and the array contains louie, suzie, craig and irene). I don't want them to be kicked off one at a time and wait for the task to finish. I need to know how to get a rolling queue of 2/3 tasks running. Then when the task returns, pop the next entry from the bottom of the array. I know how to do the pop, and the iteration through the array to call the task. I need help with the (child) job control and I have no experience with fork.