Re: pause, wait, etc.

From: Tintin (tintin_at_invalid.invalid)
Date: 12/15/04


Date: Wed, 15 Dec 2004 22:10:28 +1300


"daniel kaplan" <nospam@nospam.com> wrote in message
news:1103041464.304626@nntp.acecape.com...
> Hi all,
>
> Am looking for some type of a "pause" function. Long story short, have
> written a quick script that will send out, one time only, some 400 emails
> (reminders for a specific event).

sleep

>
> My thing is this, while I am using:
>
> unless(open (MAIL, "| /usr/sbin/sendmail -t -oi -odq"))

more usual to write it as

open MAIL, "|/usr/sbin/sendmail -t -oi -odq" or die "Can't run sendmail
$!\n";

>
> with the "queue" parameter, truth is, I don't really trust the mail server
> at my hosting place. I would swear, they sneeze and the mail server goes
> down. So putting 400 emails in their queue, I just don't trust. At the
> same time, turning off the "queue" is rude, and would be far worse than
> sneezing!

If sendmail goes down (highly unlikely), then putting a sleep in your script
isn't going to make much difference. What are you basing you "trust" on?
Something concrete or just you little toe tingling?



Relevant Pages

  • Re: OT: spammers are using my domain again
    ... our virtual hosting servers and boom 150 returned emails from the ... Server load wasn't jumping ... Its a simple script that is written in php and can use a DB to retrieve ... they do anything) and the other hosting company that the file was ...
    (Fedora)
  • Re: Reading remote Session ID
    ... require that the IP that makes the request for the page be the same ... capability of the user, if it's a script the js will fail, so require ... I am using the free version of SPAMfighter for private users. ... It has removed 1384 spam emails to date. ...
    (alt.php)
  • Re: Sleep command quitting
    ... It cannot be that the `sleep` command is terminating. ... That script was popular when I started working at SCO Support in 1989. ... it doesn't really hold the settings you specify. ... anything else comes along and makes further changes, the holdopen script ...
    (comp.unix.sco.misc)
  • Re: [PHP] limiting the amount of emails sent at a time in a batch send
    ... I want to limit these script two send 100 email and then pause for a few ... all the emails that are dated for today. ... I am using swift ... used for many unique mails. ...
    (php.general)
  • Re: WScript.dll not working
    ... But, when i call a script indirectly in my application's exe's context, then it doesn't repond further. ... the sleep method is coded into the ... could call the sleep api directly from script. ...
    (microsoft.public.scripting.vbscript)