I know similar questions to this one my have been asked already but I have a few questions regarding the launch of a CGI script from another CGI script.

I have a script that searches links (it's for a link exchange) which then goes 2 levels deep on each domain to find an email address. This is a LOT of URLs that are being scanned and my web host occassionaly times out. Is it possible to by-pass this by launching a 2nd CGI script that does all the timely work?

If so, what happens when the 2nd CGI is launched? Will the first one infinitely load until the 2nd script is done loading? Is there a way to have the browser finish loading after the initialization of script #2 and let the server finish on it's own? Ultimately, I want script #1 to launch script #2 and be done. Whenever script #2 gets done, I want it to email the user letting them know it's completed.


In reply to CGI loading another CGI script by Anonymous Monk

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.