This will restart a cf instance

<cfscript>
        oJRun = CreateObject("java", "jrunx.kernel.JRun");
        oJRun.restart(oJRun.getServerName());
</cfscript>


On 06/07/2007, at 12:54 , Ryan Sabir wrote:

>
> Does anyone have a script that can restart the Cold Fusion service  
> remotely?
>
> Preferably written in ASP or something like that, as we'd need to  
> do this when Cold Fusion is not responding.
>
> thanks!
>
>
>       Ryan Sabir
> Technical Director
>
> p: (02) 9274 8030
> f: (02) 9274 8099
> m: 0411 512 454
> w: www.newgency.com           Newgency Pty Ltd
> Web | Multimedia | eMarketing
>
> 115 Cooper St
> Surry Hills NSW 2010
> Sydney, Australia
>
>
> >



-----------------------------------

        Life is poetry, write it in your own words

-----------------------------------

Toby Tremayne
Senior Technical Consultant
Lyricist Software
0416 048 090
ICQ: 13107913



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to