[EMAIL PROTECTED] wrote:

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

If you mean that you have the CF Service on Box B run the cfexecute code 
above and the CF Service on Box A should restart: it doesn't work that 
way. Even if you get the cfexecute to work (change the account CF on Box 
B runs under to a domain account with sufficient priviledges for that 
and preferably loose the timeout) it will result in the CF Service on 
Box B restarting.

Use some sort of real remote admin tool. Telnet (if you have sufficient 
network security in place only), SSH, pcAnywhere or whatever built-in 
tools Windows has.

Jochem

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
Get the mailserver that powers this list at http://www.coolfusion.com

Reply via email to