Heya yep on a shared environment. thanks for the code snippet. I'll test it out and let you guys know what happens
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Scott Sent: Friday, 6 July 2007 3:21 PM To: [email protected] Subject: [cfaussie] Re: Remotely restart CF service 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. 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! Ryan Sabir Technical Director p: (02) 9274 8030 f: (02) 9274 8099 m: 0411 512 454 w: www.newgency.comNewgency 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 -~----------~----~----~----~------~----~------~--~---
