Reply to PHP cron sendmail

Your name:

Reply:


Posted by Richard Lynch on 04/22/05 23:18

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация