Or you can send email by batches when sending newsletter so it wont timeout. Eg. retrieve 50 email address, send newsletter to 50, then retrieve the next 50, until all are sent. --- Shoan Motwani <listmail@xxxxxxxxx> wrote: > > please correct me if i am wrong, here is how it > works : > > > > 1. I should set cronjob run every one minutes > > 2. cronjob check database flag, > > if flag set=1 then send newsletter and turn flag > tp 0 > > 3 the flag set to 1, every time i click the send > newsletter button > > Yup. Thats pretty much it. > > However, it might be less resource intensive if you > could run the > cron job maybe once/twice a day instead of every > minute. > > Peace, > Shoan. > __________________________________ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/ ------------------------ Yahoo! Groups Sponsor --------------------~--> Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/saFolB/TM --------------------------------------------------------------------~-> PHP Data object relational mapping generator - http://www.meta-language.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/