I use it "by the book":
<cfset arguments="-c#concurrent# -u #site# -t#transactions# -d#delay# -l
-m#CHR(34)##label##CHR(34)#">
<CFEXECUTE
NAME="/usr/local/bin/siege"
ARGUMENTS=#arguments#
OUTPUTFILE="/var/www/html/siege/siege.foo"
TIMEOUT="999">
</CFEXECUTE>
The same 'command' would be ran by calling it like:
<cfset arguments="-c#concurrent# -u #site# -t#transactions# -d#delay# -l
-m#CHR(34)##label##CHR(34)#">
<CFEXECUTE
NAME="C:\siege\siege.exe"
ARGUMENTS=#arguments#
OUTPUTFILE="C:\temp\siege.txt"
TIMEOUT="999">
</CFEXECUTE>
It depends on the specific code being used.
========================
Jesse Noller
Linux Fiend
Macromedia Server Development
[EMAIL PROTECTED]
"Give a man a fish, and he'll pester you to keep giving him fish. Teach a
man to fish, and he'll pester you for better fishing theory".
--Me, 2001
> -----Original Message-----
> From: Robert Everland [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 21, 2001 9:52 AM
> To: CF-Talk
> Subject: RE: Is CF 5 ready for production?
>
>
> Could you give me a sample of your systax, I use it here to
> send remote
> commands to my as/400, I don't change the syntax and it all
> just freezes. no
> error message, no timeout, it just sits there, there are a
> couple instances
> on the support forums of others having the exact same problem,
> http://forums.allaire.com/coldfusion/messageview.cfm?catid=15&
> threadid=22542
> 7
> http://forums.allaire.com/coldfusion/messageview.cfm?catid=7&t
> hreadid=212367
> &highlight_key=y&keyword1=cfexecute
>
> Robert Everland III
> Dixon Ticonderoga
> Web Developer Extraordinaire
>
> -----Original Message-----
> From: Jesse Noller [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 21, 2001 9:49 AM
> To: CF-Talk
> Subject: RE: Is CF 5 ready for production?
>
>
> What exactly is your problem with cfexecute? When I build
> internal programs,
> I use cfexecute pretty heavily, so I'm wondering what's going on.
>
> ========================
> Jesse Noller
> Linux Fiend
> Macromedia Server Development
> [EMAIL PROTECTED]
>
> "Give a man a fish, and he'll pester you to keep giving him
> fish. Teach a
> man to fish, and he'll pester you for better fishing theory".
> --Me, 2001
>
> > -----Original Message-----
> > From: Robert Everland [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, November 21, 2001 8:37 AM
> > To: CF-Talk
> > Subject: RE: Is CF 5 ready for production?
> >
> >
> > So far the only problem I have no found a workaround for is
> > CFexecute. I use
> > it quite extensively here, and it does not work at all on CF
> > 5. No one from
> > Macromedia responds to my questions on it and I have yet to
> > hear back from
> > them when I reported it. If you don't use cfexecute I don't
> > see there being
> > an issue.
> >
> > Robert Everland III
> > Dixon Ticonderoga
> > Web Developer Extraordinaire
> >
> > -----Original Message-----
> > From: Bud [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, November 21, 2001 8:06 AM
> > To: CF-Talk
> > Subject: Is CF 5 ready for production?
> >
> >
> > Hi all. Other than a few Hot Fixes, I don't see any service packs
> > available for CF 5.0. Are there any issues I should be aware of
> > before upgrading from 4.51 on a production server?
> >
> > Would anyone suggest waiting for a SP if there is one forthcoming?
> >
> > Other than the extra features available, is there enough of a
> > performance enhancement to justify upgrading (Pro, so it's only
> > 650.00)?
> >
> > Has anyone hit any snags during the upgrade process that has caused
> > downtime?
> >
> > Thanks for your time. :)
> > --
> >
> > Bud Schneehagen - Tropical Web Creations
> >
> > _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> > ColdFusion Solutions / eCommerce Development
> > [EMAIL PROTECTED]
> > http://www.twcreations.com/
> >
> >
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists