Nice snippet, the only downside is that it only works on the Enterprise
version. And would be no good running a Coldfusion script if it is not
responding, applies to standard installs of course.

 

I am assuming that Ryan this is on a shared host environment? 

 



Andrew Scott
Senior Coldfusion Developer
Aegeon Pty. Ltd.
HYPERLINK "http://www.aegeon.com.au"www.aegeon.com.au
Phone: +613  8676 4223
Mobile: 0404 998 273

 

 

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Toby Tremayne
Sent: Saturday, 7 July 2007 1:07 AM
To: [email protected]
Subject: [cfaussie] Re: Remotely restart CF service

 

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!


 HYPERLINK "http://www.newgency.com/footerImages/logo.gif";

Ryan Sabir
Technical Director

p: (02) 9274 8030
f: (02) 9274 8099
m: 0411 512 454
w: HYPERLINK "http://www.newgency.com/"; \nwww.newgency.com

 HYPERLINK "http://www.newgency.com/footerImages/divider.gif";

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





 



 

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.476 / Virus Database: 269.10.0/886 - Release Date: 4/07/2007
1:40 PM


No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.476 / Virus Database: 269.10.0/886 - Release Date: 4/07/2007
1:40 PM
 

--~--~---------~--~----~------------~-------~--~----~
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