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
Private First Class
Private First Class
Posts: 44
Joined: Sat May 27, 2006 11:59 pm

bzadmin command ; and quit

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


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?


User avatar
Posts: 4732
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx

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)


Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest