The idea of writing a pause routine to give the server breathing room is laudable, but ultimately pointless.

You should be *happy* that the server is working solidly, hammering out those messages. It's not going to "suffer" if the run queue is full for a couple of hours.

On the other hand, if other people want to use the server at the same time with reasonable performance, then your mail reminder program should be run at a nice priority.

If your local MTA is sendmail, I would strongly recommend using a drop-in replacement with better performance (postfix springs to mind). To tell the truth, banging out 1000 emails doesn't strike as a particularly big deal. If you were sending out 100k messages, that might be cause for concern.

--
g r i n d e r

In reply to Re: Pausing while using Mail:Mailer by grinder
in thread Pausing while using Mail:Mailer by web-yogini

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.