Servers Alive is another tool that can be used... http://www.woodstone.nu/salive/
Carl ----- Original Message ----- From: <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Sunday, November 03, 2002 5:46 PM Subject: Fwd: cfexecute and restarting CF-Service remotely > Thanks everybody who answered my question. > I ended up using psservice from sysinternals > http://www.sysinternals.com/ntw2k/freeware/psservice.shtml > On a sitenote: We use CF 5 Pro on Win2000 > > Uwe > > This is a forwarded message > From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> > To: CF-Talk <[EMAIL PROTECTED]> > Date: Saturday, November 2, 2002, 11:05:44 PM > Subject: cfexecute and restarting CF-Service remotely > > ===8<==============Original message text=============== > Hi list, > I want to restart CF on box A from > box B using CF everytime the service crashes on box A. I tried it with > cfexecute, running a mapped drive K on box B with the following: > <CFEXECUTE NAME="K:\winnt\system32\cmd.exe" ARGUMENTS="K:\cfusion\bin\cycle_new.bat" Timeout="120"> > </CFEXECUTE> > > In cycle_new.bat I have: > @ECHO ON > net stop "Cold Fusion Application Server" > net start "Cold Fusion Application Server" > @ECHO OFF > PAUSE > > But it is not working due to a cfexecute problem. > Do you know, if there is another way to do this ? > > Thanks. > > Uwe > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm

