Re: Background processes
| From: | Eric \"e-dawg\" Johnston | Date: | Sat, 13 Sep 2003 10:37:54 +0000 |
| Subject: | Re: Background processes | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-7784@lists.php.net to get a copy of this message | ||
How consistently are the pages going to be hit? On heavy-load sites, I
sometimes cache data, pre-processed templates, etc into a table since
reads are fast... I update the data at various intervals, but it is
only updated on a page request. In your case, I'm not sure if this
would cut it.
If it must be at 5-minute intervals, you'd need multiple instructions
regardless of what programming language you use, since you'd either need
this script to continuously run as a sort of service or you'd need it
called periodically.
Just my $0.02 at 4:37A.
--
Eric
On Fri, 2003-09-12 at 23:19, Nikhil G. Daddikar wrote:
> Specifically: I am using Mail_Queue from pear and I need to send the
> queued emails every 5 minutes.
>
> I know about cron jobs but I would like a "pure" PHP solution if
> possible, so that I don't have to maintain two sets of instructions for
> windows and unix users.
>
> Thanks.