[GENERAL] Database viewpoint of subject - Sending e-mails from database table with Cronjob

2010-04-21 Thread Andre Lopes
Hi, I need some advice about a subject. I generate e-mail messages to a database table and then with a CronJob I sent the e-mails. My doubt is... The CronJob runs every 10 minutes, but If I have 100.000 e-mails to send the script will not be able to send all the 100.000 e-mails in 10 minutes.

Re: [GENERAL] Database viewpoint of subject - Sending e-mails from database table with Cronjob

2010-04-21 Thread A B
I generate e-mail messages to a database table and then with a CronJob I sent the e-mails. My doubt is... The CronJob runs every 10 minutes, but If I have 100.000 e-mails to send the script will not be able to send all the 100.000 e-mails in 10 minutes. How can I deal with this problem?

Re: [GENERAL] Database viewpoint of subject - Sending e-mails from database table with Cronjob

2010-04-21 Thread Andre Lopes
Hi, Thanks for the reply. [quote] The other way is to let the cron job spawn new processes (up to a limited number of child proceses) as long as there are mails to send. These child processes runs as long as there are mails to send, then they die. The cron job will then mostly do process

Re: [GENERAL] Database viewpoint of subject - Sending e-mails from database table with Cronjob

2010-04-21 Thread Allan Kamau
On Wed, Apr 21, 2010 at 3:41 PM, Andre Lopes lopes80an...@gmail.com wrote: Hi, Thanks for the reply. [quote] The other way is to let the cron job spawn new processes (up to a limited number of child proceses) as long as there are mails to send. These child processes runs as long as there

Re: [GENERAL] Database viewpoint of subject - Sending e-mails from database table with Cronjob

2010-04-21 Thread Andre Lopes
It is not for SPAM, the 100.000 e-mails is only for example purposes. But I must to draw the code to be possible to send this volume, just in case if it happens. There are examples on how can I do this? Best Regards, On Wed, Apr 21, 2010 at 4:01 PM, Allan Kamau kamaual...@gmail.com wrote: On

Re: [GENERAL] Database viewpoint of subject - Sending e-mails from database table with Cronjob

2010-04-21 Thread A B
[quote] The other way is to let the cron job spawn new processes (up to a limited number of child proceses) as long as there are mails to send. These child processes runs as long as there are mails to send, then they die. The cron job will then mostly do process controll/start new processes.

Re: [GENERAL] Database viewpoint of subject - Sending e-mails from database table with Cronjob

2010-04-21 Thread Bill Moran
In response to A B gentosa...@gmail.com: [quote] The other way is to let the cron job spawn new processes (up to a limited number of child proceses) as long as there are mails to send. These child processes runs as long as there are mails to send, then they die. The cron job will then

Re: [GENERAL] Database viewpoint of subject - Sending e-mails from database table with Cronjob

2010-04-21 Thread Andre Lopes
Thanks for the reply. I will move the topic to the php/pgsql if I don't get how to do it. Thanks for the help. Best Regards, On Wed, Apr 21, 2010 at 4:49 PM, Bill Moran wmo...@potentialtech.comwrote: In response to A B gentosa...@gmail.com: [quote] The other way is to let the cron

Re: [GENERAL] Database viewpoint of subject - Sending e-mails from database table with Cronjob

2010-04-21 Thread Giles Lean
Andre Lopes lopes80an...@gmail.com wrote: My doubt is... The CronJob runs every 10 minutes, but If I have 100.000 e-mails to send the script will not be able to send all the 100.000 e-mails in 10 minutes. More generally, your question is how to deal with a cron job that is intended to run