Re: pause, wait, etc.
From: Tintin (tintin_at_invalid.invalid)
Date: 12/15/04
- Next message: Bernard El-Hagin: "Re: Regular Expression Help"
- Previous message: TechStu: "Regular Expression Help"
- In reply to: daniel kaplan: "pause, wait, etc."
- Next in thread: daniel kaplan: "Re: pause, wait, etc."
- Reply: daniel kaplan: "Re: pause, wait, etc."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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?
- Next message: Bernard El-Hagin: "Re: Regular Expression Help"
- Previous message: TechStu: "Regular Expression Help"
- In reply to: daniel kaplan: "pause, wait, etc."
- Next in thread: daniel kaplan: "Re: pause, wait, etc."
- Reply: daniel kaplan: "Re: pause, wait, etc."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|