The Syntax: c:\>NET STOP "Cold Fusion Application Server" c:\>NET START "Cold Fusion Application Server"
The service names are in a "services" registry key under HKLM, or you can look in the services control panel and use the item under "name" as a string in double quotes (as in "cold fusion application server" above). -mk -----Original Message----- From: Weaver, Anthony [mailto:[EMAIL PROTECTED]] Sent: Friday, May 10, 2002 9:28 AM To: CF-Talk Subject: RE: restarting a service Couldn't you use CFEXECUTE and call a bat file that does a NET STOP and NET START ? -----Original Message----- From: Mario Martinez [mailto:[EMAIL PROTECTED]] Sent: Friday, May 10, 2002 10:13 AM To: CF-Talk Subject: restarting a service Hi friends: This is my problem: I need to restart a service periodically. I'm aware I can easily schedule tasks in Coldfusion but ,is there any way to restart a service?? , I mean any tag, function , etc . I got coldfusion installed in a windows 2000 server. Thanks in advance for any help. regards Mario ______________________________________________________________________ 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

