> 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! 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/