If you're using Windows, copy the text below into a file: restart_cf.bat
Then run the file on your server.

--------------- RESTART_CF.BAT ---------------
REM stop all CF services and IIS
net stop "ColdFusion MX ODBC Agent"
net stop "ColdFusion MX ODBC Server"
net stop "ColdFusion MX Application Server"
net stop "World Wide Web Publishing Service"

REM start all CF services and IIS
net start "World Wide Web Publishing Service"
net start "ColdFusion MX Application Server"
net start "ColdFusion MX ODBC Server"
net start "ColdFusion MX ODBC Agent"
--------------- RESTART_CF.BAT ---------------

That's the best way I've found without restarting the whole machine.

If you don't have command-line access to run the batch file, you can use
CFEXECUTE to run it remotely. I've written a CF page to run these things
remotely in case I'm ever out and a server goes down or a service needs
restarting. If you're interested I could zip up the whole thing
including the batch files and email them to you. It's not pretty, but it
works in a pinch.

Thanks,

Joshua Miller
Head Programmer / IT Manager
Garrison Enterprises Inc.
www.garrisonenterprises.net
[EMAIL PROTECTED]
(704) 569-9044 ext. 254
 
************************************************************************
*************
Any views expressed in this message are those of the individual sender,
except where the sender states them to be the views of 
Garrison Enterprises Inc.
 
This e-mail is intended only for the individual or entity to which it is
addressed and contains information that is private and confidential. If
you are not the intended recipient you are hereby notified that any
dissemination, distribution or copying is strictly prohibited. If you 
have received this e-mail in error please delete it immediately and
advise us by return e-mail to [EMAIL PROTECTED]
************************************************************************
*************


-----Original Message-----
From: Luis Lebron [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 08, 2003 1:07 PM
To: CF-Talk
Subject: Stopping an endless loop


I accidentally created an endless cfloop (which includes a cfmail
tag!!!). How do I stop it.


Help!!!


Luis


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to