I have used the cfexecute tag to stop and start services and it works
very well. All you need to do is create a batch/command file and use
the net stop and start command to do this.
-----Original Message-----
From: Robert Walters [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 05, 2005 8:29 AM
To: CF-Server
Subject: Re: Stop and Restart CF MX
Since we are using Windows 2003 I was hoping you could send one command
to Services and it would then stop and start it like the manual Windows
Services screen does.
Thanks.....Rob
Andrew Scott wrote:
>No,
>
>You can use cf to stop itself, by running the bat file in the bin
directory.
>but you can use cf to start itself because how can you run a cf page
while
>its not running?
>
>
>
>-----Original Message-----
>From: Robert Walters [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, 5 July 2005 10:22 PM
>To: CF-Server
>Subject: Stop and Restart CF MX
>
>Hello,
>
>Is there any CF code that I can put into a CFM template to stop and
>restart CF just buy going to the webpage?
>
>Like StartAndStop.cfm
>
>I know I can stop and start it manually in Services but I want to be
>able to do this with a web browser from anywhere.
>
>
>Thanks.....Rob
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49
Message: http://www.houseoffusion.com/lists.cfm/link=i:10:5493
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/10
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:10
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.10
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54