you could possibly use net::daemon or other. an outline of how to write a preforking daemon http://www.petercooper.co.uk/archives/000702.html. that talks about http daemon, just take the prefork bits you want. you can make your starting daemon / parent start from init.d to make it resilient.
maybe if you elaborate a bit more about the scheduling requirements, someone may be able to offer more help.
i don't have any understanding of what your pre-forked processed are supposed to do..but a number of pre-forked processes that run for hours doesn't sound like a reasonable setup to start with. perhaps this setup could benefit from a shift in approach? otherwise just run a cluster all on the same box or distributed?
the hardest line to type correctly is: stty erase ^H

In reply to Re: Bein' lazy: need a child-process monitor, quick 'n fast by aquarium
in thread Bein' lazy: need a child-process monitor, quick 'n fast by locked_user sundialsvc4

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.