I just set my Spooler in CF Admin, set the time for spooled messages to 60
seconds, and then it trickles them out.  Sends three or four a minute I
think.
Rob

On Tue, Sep 23, 2008 at 10:55 AM, <[EMAIL PROTECTED]> wrote:

> The ColdFusion code will continue running even if the user closes the
> browser, shuts down their computer, and goes home.  Be careful if you do
> leave the browser open, I have had problems where Internet Explorer
> would re-request the page after about 8 hours of processing.
>
> Truthfully, if I were you, I would use a scheduled task to run every
> minute and process X number of records.
>
> If you really want to make a single request wait a minute doing a
> thread.sleep() will perform better since an endless loop checking the
> minute over and over will probably peg your CPU.
>
> ~Brad
>
> -------- Original Message --------
> Subject: Re: Long running CF Program
> From: Scott Taylor <[EMAIL PROTECTED]>
> Date: Tue, September 23, 2008 9:12 am
> To: CF-Talk <[email protected]>
>
> We have a number of programs that loop through data just like this. I
> haven't hit one yet that didn't continue merrily on its way until the
> loop was finished. I'm pretty sure that it will continue running.
>
> Scott Taylor
>
> >I have a program that sends out bulk mail using CFMail. Problem is it
> sends
> >the whole batch out at once. That sets off email blockers all over, so I
> >have to trickle the mail out.
> >
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312957
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to