What's the best way to run a 4-hour-long CF script?

2009-05-10 Thread Philip Kaplan
I have a script that needs a few hours to run. It's crawling several large web sites/xml feeds. What's the best way to do this with CF? I've tried adding requestTimeout=100 in the URL but CF still seems to shut it down eventually. Also my browser window gives up eventually... Is there a

Re: What's the best way to run a 4-hour-long CF script?

2009-05-10 Thread Kym Kovan
Philip Kaplan wrote: I have a script that needs a few hours to run. It's crawling several large web sites/xml feeds. What's the best way to do this with CF? I've tried adding requestTimeout=100 in the URL but CF still seems to shut it down eventually. Also my browser window gives up

Re: What's the best way to run a 4-hour-long CF script?

2009-05-10 Thread Philip Kaplan
Brilliant! A meta-refresh should work. What if I wanted to run it as a scheduled task? Hmm. On Sun, May 10, 2009 at 5:06 PM, Kym Kovan dev-li...@mbcomms.net.au wrote: Philip Kaplan wrote: I have a script that needs a few hours to run. It's crawling several large web sites/xml feeds.

Re: What's the best way to run a 4-hour-long CF script?

2009-05-10 Thread Kym Kovan
Philip Kaplan wrote: Brilliant! A meta-refresh should work. What if I wanted to run it as a scheduled task? Hmm. A counter and flag in a database, run the script once every 10 mins or whatever is appropriate and use the flag and counter to see if the next section is due and which section.

Re: What's the best way to run a 4-hour-long CF script?

2009-05-10 Thread Philip Kaplan
You rock -- running it right now with a meta-refresh at the bottom of the page (and CFFLUSH at the top so i can watch the script process) Working like a charm :) Thank you thank you On Sun, May 10, 2009 at 5:20 PM, Kym Kovan dev-li...@mbcomms.net.au wrote: Philip Kaplan wrote: Brilliant!