Anything that is used to rest a CFServer cant be triggered by CF.  I did try
it once before but it wouldnt work because the process that spawned the
restart process dies when the cf server is stopped and it would never
restart.

  _____  

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!

  <http://www.newgency.com/footerImages/logo.gif>       Ryan Sabir
Technical Director

p: (02) 9274 8030
f: (02) 9274 8099
m: 0411 512 454
w: www.newgency.com <http://www.newgency.com/>
<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






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