By reboot windows will halt the CF services but the reboot sequence is
already in affect and will continue the reboot process.
 

-----Original Message-----
From: Heald, Timothy J [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 14, 2007 9:30 AM
To: CF-Community
Subject: RE: rebooting windows with cf

Batch file, two lines.

Once the batch file starts executing it's a local system app, not CF.
Sorry should have explained that better.


 

> -----Original Message-----
> From: JediHomer [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 14, 2007 9:15 AM
> To: CF-Community
> Subject: Re: rebooting windows with cf
> 
> Except that cfexecute net stop cf will stop cf, so it's not there to 
> issue the cfexecute net start cf....  I believe the same is true if 
> the functionality was wrapped in a batch file.
> 
> To restart the server, i'm pretty sure it's a case of cfexecuteing a 
> rundll command something like
> 
> rundll user.exe,exitwindowsexec
> 
> 
> 
> On 14/03/07, Heald, Timothy J <[EMAIL PROTECTED]> wrote:
> > Restarting cf is easy, use <cfexecute> to send net
> stop/start "Service
> > name Here".
> >
> > I'm not sure if there is a command line method of rebotting
> a machine,
> > but if there is you can use cfexecute to do it, or write a
> batch file
> > that CF kicks off.
> >
> >
> > > -----Original Message-----
> > > From: John Eubanks [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, March 13, 2007 5:26 PM
> > > To: CF-Community
> > > Subject: rebooting windows with cf
> > >
> > > Does anyone know anything about rebooting windows using a
> coldfusion
> > > api call (or anything like it)?  Or, even just restarting
> coldfusion
> > > server and iis using the same method?
> > >
> > >
> >
> > 
> 
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:230128
Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5

Reply via email to