in reply to Re^3: Email Thresholding
in thread Email Thresholding

If the process runs every couple of minutes how can you receive over 23000 emails in a single night? It must be sending one email per event. If you sum up all the events each time the script runs and send one email every couple of minutes the most emails you'll get overnight is 15 hours/night * 30 emails/hour = 450 emails/night.

Replies are listed 'Best First'.
Re^5: Email Thresholding
by bfdi533 (Friar) on Apr 09, 2015 at 16:46 UTC

    Yes, currently the script is sending one email per event. Thus, this thread to get some ideas on thresholding.

      Your original post said:

      When new "events" are seen, an email is sent. ...

      "An email is sent" implies one email per run of the script. Sending one summary email per run would likely remove the need to threshold or at least give you breathing room while you work on the problem.