Cronjobs output
1)Every cronjobs sends an email to my root adress.
Is it possible to only get ERROR mails and ignore the normal cron outputs ... ?
I set my php output so it echo's nothing but now i get mails like :
Content-type: text/html
X-Powered-By: PHP/4.3.4
(thats all ..)
2)
I'm looking for a better solution then this :
We are sending newsletters. Sometimes clients sends 5000 mails ... in the past I let them send by http browser...
This takes 5-10 minutes so that wasn't a good solution...
Now I changed this : I place the newsletter in a outbox (mysql db) to send out ... and a cronjobs checks if there is a newsletter and sends it out ... this works better !
I have made cronjobs every 10 minutes to check but there is always a delay ... Is it possible to do this a better way ?
for example : put it in a outbox (mysql db) and tell the server to send it away immediatly (at server side ! not at client side !)
Thx