Naturally, anything that something that allows you to stop and start
services remotely should be handled carefully.
How you go about securing the approach I suggested is up to you, but it does
provide a way for people who have limited control of the server and
networking environment to achieve what they need to.
SSH would be a preferred solution, but it does require a greater level of
control over the environment to set it up.
Spike
--------------------------------------------
Stephen Milligan
Code poet for hire
http://www.spike.org.uk
Do you cfeclipse? http://cfeclipse.tigris.org
>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of Jochem van Dieten
>Sent: Wednesday, August 04, 2004 3:40 PM
>To: CF-Talk
>Subject: Re: remote restart cfmx service
>
>Spike wrote:
>>
>> I know you can use a combination of cfexecute and a batch
>file to restart
>> ColdFusion if you use the scheduler service.
>>
>> On Windows you'd do that with something like this:
>>
>> at 14:00 "cfrestart.bat"
>>
>> cfrestart.bat would have the necessary commands to stop and
>start whatever
>> services you need.
>>
>> As long as you don't need for the restart to happen inside
>the next minute
>> it works a treat.
>
>Be carefull with this, if you have restricted the scheduler to
>only accept commands from an administrative user (which is a
>security best practicce) it won't work unless CF runs as admin,
>which is not a good idea.
>
>Jochem
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

