can't. thing is that CF can write the output to a file, but not the browser
during processing.

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


-----Original Message-----
From: phumes1 [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 08, 2002 2:55 PM
To: CF-Talk
Subject: RE: Stop/restarting CF from a web page- to Anthony???


Thanks...got it working.

Is there a way to have CF display the below batch file executing. I know I 
can output the results to a file.
How do I know when all the services have been stopped and then started 
again. What I want to do is have the window display "Stopping/Starting 
Services...please wait" and then close when all the services have been 
stopped/started?



At 01:58 PM 4/8/2002 -0400, you wrote:
>Just tested it out. Worked like a champ.
>
>ColdFusion Page
>===============
><cfexecute name="c:\test.bat"></cfexecute>
>**NOTE - use the full page to test.bat
>
>
>test.bat
>========
>c:\winnt\system32\net.exe stop "Cold Fusion Application Server"
>c:\winnt\system32\net.exe stop "Cold Fusion Executive"
>c:\winnt\system32\net.exe stop "Cold Fusion RDS"
>c:\winnt\system32\net.exe stop "ColdFusion Graphing Server"
>
>c:\winnt\system32\net.exe start "Cold Fusion Application Server"
>c:\winnt\system32\net.exe start "Cold Fusion Executive"
>c:\winnt\system32\net.exe start "Cold Fusion RDS"
>c:\winnt\system32\net.exe start "ColdFusion Graphing Server"
>
>Anthony Petruzzi
>Webmaster
>954-321-4703
>http://www.sheriff.org
>
>
>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>Sent: Monday, April 08, 2002 1:50 PM
>To: CF-Talk
>Subject: RE: Stop/restarting CF from a web page- to Anthony???
>
>
>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-11D
4
>-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]
> >
>+--------------------------------------------------------------------------
-
>----
>-----+
> >
> >
> >
>
>
>
>
>

______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
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