running bzadmin with a rotating server
- a dead man
- Private First Class
- Posts: 33
- Joined: Tue Jan 31, 2006 7:50 am
- Location: Canberra, Australia
running bzadmin with a rotating server
Anyone know the best way of running bzadmin with a rotating map server?. my server is running with a script that rotates the maps every hour and half, trouble is it has to close down bzfs to start the new map, when it does bzadmin quits, so how can i keep it going unnattended?
- Sir Lance-A-Lot
- Private First Class
- Posts: 503
- Joined: Tue Jun 29, 2004 12:49 am
- Location: Amongst my Computers
- Contact:
Write a simple batch file to load bzadmin and enter the server, then drag it to your startup folder (assuming your on windows)
Code: Select all
@echo on
"C:/patchtoyourbzfolder/bzadmin.exe" yourcallsign@whichserver:5154
Well that startup folder script idea just starts bzadmin up at computer start up, so unless the computer restarts, that won't start bzadmin up again and the beginning of each new map.
The best way would just be to take that same batch file idea that Sir Lance-A-Lot said, but add it to your BZFS rotating server script.
The best way would just be to take that same batch file idea that Sir Lance-A-Lot said, but add it to your BZFS rotating server script.