PHP cron sendmail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Somewhat OT...

Okay, maybe a lot OT...

I have these cron jobs on a computer, and I want the email output from them.

But I don't want sendmail running 24/7, and when it does run, I'd just as
soon it *ONLY* processed email and sent it out, without even opening up
port 25 and listening.

I guess the port 25 stuff is not too terribly important, behind 2
firewalls and all, but...

Anyway, I definitely want it to run and process however much it can, but
to STOP at a pre-determined time.

This is for the computer in my sound booth, and I only want it running
when we are not trying to record live music or burn CDs.

I've Google and read a fair amount of stuff, most of which is giving me a
headache rather than suggesting a solution...

Is there some command line flags I can use to make sendmail run and send
out just *ONE* message from the /var/mail/mqueue or whatever, and then
QUIT and do nothing else?

I can take care of shaping the behaviour from that point using cron and
PHP to run sendmail when I want...

THANKS and please reply off-list as I'm sure most folks don't want to read
this.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux