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: 37
Joined: Sat May 27, 2006 11:59 pm

bzadmin command ; and quit

Post by mathiaz » Wed Mar 21, 2018 1:41 pm

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: 4714
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: bzadmin command ; and quit

Post by blast » Wed Mar 21, 2018 2:13 pm

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

Who is online

Users browsing this forum: No registered users and 2 guests