>Yeah, I usually avoid CFEXECUTE like the plague just because >you can't trust it. I once tried to use it to unzip a 500 MB >zip file and let's just say that the result wasn't pretty! > >In the past in order to do command line tasks with ColdFusion >I've made use of a Perl script that runs via a cronjob. >Create a file somewhere on your system and make sure that it's >locked down with respect to permissions so that only the >ColdFusion user can modify it. Use ColdFusion to write >"instructions" to this file that can be read by your Perl >script. Then you can set up that script to run in cron every >minute. If the file is blank, it does nothing. If the file >has contents, then your script can do what it needs to do, and >then blank out the file when it's done. > >It ain't pretty, but it does work. Good luck.
Thanks for the replies, would either of you agree that this may be an issue with the type of task you are planning on executing, or that it does not matter? I.e. if I unzip a file from a .zip file and the file is 1K, I will see a big memory spike? Is this consistent or intermittent? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Silver Sponsor - New Atlanta http://www.newatlanta.com Message: http://www.houseoffusion.com/lists.cfm/link=i:14:3769 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/14 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:14 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.14 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
