Can anyone give me a hand on this? I got a directory that has about 120k - 180k files on it, constantly. They re e-mails that need to be moved to the smpt pickup directory. I need to make a schedule to pickup about 5.000 files every X minutes and move them the apropriate directory.
I'm currently doing: <cfdirectory - get a list of the files (it takes forever to complete) <cfoutput maxrows 5000 <cffile move to correct dir> </cfoutpu> The problem is that CF (MX, updater 3) takes a long time (ultra long) to do a <cfdirectory> and CPU load is 100% during this time. Can you think a way to move those files witout having to use <cfdirectory>? Thank you and nice weekend :) BP ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

