I have a daemon running that executes multiple children at any given minute. That part work great. The problem that I have is that when the children exit they turn into zombies. I need to have the daemon act like a cron scheduler executing one or more children every minute, not waiting on the children to exit, which could take up to 10-15 minutes.
What I need is to have the parent sitting waiting for the top of the minute where it sets in motion children who continue on their own. Then the parent returns to waiting for the top of the minute.
Ideas?