Re: Cron php & refresh
| From: | Per Jessen | Date: | Sun, 20 Apr 2008 10:41:40 +0000 |
| Subject: | Re: Cron php & refresh | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-273316@lists.php.net to get a copy of this message | ||
Jeffrey wrote:
> I'm working on an application that includes e-mail notifications of
> certain events. Because the application will have hundreds or
> thousands of users, I've designed it so that e-mail notifications are
> saved to a MySQL table. Then a regular cron job runs a php page to
> select the data from the table, put it into a mail() command and mail..
Why not just send the notification at the time of the event? (I assume
you update the database at the time of the event).
/Per Jessen, Zürich