didn't think of that ;)

actually what you could is put the net command in a batch file and then
execute the bat file with cfexecute.

i always miss the obvious.

Anthony Petruzzi
Webmaster
954-321-4703
http://www.sheriff.org


-----Original Message-----
From: Chakka, Sudheer [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 08, 2002 1:46 PM
To: CF-Talk
Subject: Stop/restarting CF from a web page- to Anthony???


Hi Anthony,

  One stupid question i guess:

  After the Cold Fusion Application Server is stopped how can the CFEXECUTE
can run, to restart the service again ??

Thanks,
Sudheer Chakka


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 08, 2002 12:21 PM
To: CF-Talk
Subject: RE: Stop/restarting CF from a web page


use cfexecute tag.

Stopping
========
<cfexecute name="c:\winnt\system32\net.exe"
           arguments='stop "Cold Fusion Application Server"'></cfexecute>
<cfexecute name="c:\winnt\system32\net.exe"
           arguments='stop "Cold Fusion Executive"'></cfexecute>
<cfexecute name="c:\winnt\system32\net.exe"
           arguments='stop "Cold Fusion RDS"'></cfexecute>
<cfexecute name="c:\winnt\system32\net.exe"
           arguments='stop "ColdFusion Graphing Server"'></cfexecute>


Starting
========
<cfexecute name="c:\winnt\system32\net.exe"
           arguments='start "Cold Fusion Application Server"'></cfexecute>
<cfexecute name="c:\winnt\system32\net.exe"
           arguments='start "Cold Fusion Executive"'></cfexecute>
<cfexecute name="c:\winnt\system32\net.exe"
           arguments='start "Cold Fusion RDS"'></cfexecute>
<cfexecute name="c:\winnt\system32\net.exe"
           arguments='start "ColdFusion Graphing Server"'></cfexecute>

Anthony Petruzzi
Webmaster
954-321-4703
http://www.sheriff.org


-----Original Message-----
From: Douglas Brown [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 08, 2002 1:19 PM
To: CF-Talk
Subject: Re: Stop/restarting CF from a web page


Here is a custom CFX tag for this, but i believe it is for NT

http://devex.macromedia.com/developer/gallery/info.cfm?ID=A155CF05-7445-11D4
-AAA
400508B94F380&method=Full







"Success is a journey, not a destination!!"



Doug Brown
----- Original Message -----
From: "phumes1" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, April 08, 2002 10:08 AM
Subject: Re: Stop/restarting CF from a web page


> Hi,
>
> How can I stop and start the CF server from within a webpage?
>
>
>
>
+---------------------------------------------------------------------------
----
----+
>
> Philip Humeniuk
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
+---------------------------------------------------------------------------
----
-----+
>
>
> 



______________________________________________________________________
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

Reply via email to