Try creating a batch file that calls the net stop and net start routines... i.e.
StopCF.bat @Echo off Echo. Echo Stopping CF net stop "ColdFusion MX ODBC Server" net stop "ColdFusion MX ODBC Agent" net stop "ColdFusion MX Application Server" StartCF.bat @Echo off Echo. Echo Starting CF net start "ColdFusion MX Application Server" net start "ColdFusion MX ODBC Agent" net start "ColdFusion MX ODBC Server" HTH -----Original Message----- From: Chad [mailto:[EMAIL PROTECTED]] Sent: Friday, December 6, 2002 13:59 To: CF-Talk Subject: restart the CF MX service I would like to run a scheduled task under windows to restart the MX service every night at 4am. Our jrun.exe keeps getting bloated with memory... 80+ megs of ram is not unusual. I tried using cfstop.bat and cfstart.bat but something happened and IIS lost track of the JRUN service. I came in this morning and all of the web sites were giving a 500 error for jrun. I was able to replicate the problem by hitting cfstop.bat then hitting a few web sites as JRUN was shutting down. First is get this error: Server Error The server encountered an internal error and was unable to complete your request. Then I get a 500 error for JRUN and I have to re-boot the box to get things running again. 500 There is no web application configured to service your request There is no web application configured to service your request The strange part is when you run cfstop.bat then hit a web site JRUN.exe tries to start back up automatically... Anyone have a tried and true method of cycling the CF MX server every night? Shut down IIS first then run cfstop.bat, cfstart.bat, then start up IIS? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

