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=1000000" in the URL but CF still seems to shut it down > eventually. Also my browser window gives up eventually...
If you can break up the script into discrete chunks then you can run them sequentially from a master script that includes each chunk in turn each time it is called. How do you intend to run the script, from a browser or from a scheduled task? The master script will vary depending on which but from a browser it just has to do a self-refresh after a few seconds as the meta-refresh won't happen until the previous script is finished and the page fully loads then. The script then starts into the next section. -- Yours, Kym Kovan mbcomms.net.au ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322355 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

