Maybe not a real Perl question. But it is a Perl experience. My Perl scraping script works ok, but... It stops after 2 minutes and I am sure that the job is not finished. Scraped data is correct, but not complete. It stops right in the middle of a command line. Not always at the same spot, not after a certain number of scraped data. Just when time is up, so does it seems, the script stops. There is no error message in the server error log. Script is running at Strato GmbH server. Could it be that there is some kind of time limit for running Perl scripts on the server? Hope that somebody has the solution. Update: Thanks for the suggestions. I will look into it. Hosting provider suggests to set max_execution_time in php.ini. I don't know if that also works for Perl. For the time being I adjusted the script in such a way that the job is done in three different runs to complete the job.

In reply to Perl script stops after 2 minutes by duffdoerak

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.