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?
> >
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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

Reply via email to