bzadmin command ; and quit

Need help seting up a server, or have a question on how to run one? This is the place.
Post Reply
User avatar
mathiaz
Private First Class
Private First Class
Posts: 64
Joined: Sat May 27, 2006 11:59 pm

bzadmin command ; and quit

Post by mathiaz »

Hi,

I would like to pass regulary a bzdamin command in a bash script.

bzadmin -ui stdout spy:passwd@bzserver.xy /listPlayer

It almost work , i have the player list, but it doesn t logout.
Is there a mean to pass a cmd and just logout?
Without make a dirty kill -9 pid_of_bzadmin?

thnks
<°)))><|
User avatar
blast
General
General
Posts: 4931
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: bzadmin command ; and quit

Post by blast »

I think you can pass multiple pieces of text to send. So try "/listPlayer" "/quit"
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
Post Reply