I have previously ran a server, but BEC has updated a few times since the last time I ran one, just hoping someone here can look over my scheduler.xml and shed some light on where my commands are wrong. BEC properly schedules all 14 tasks, however, when the server comes due for a restart, it kills the server without starting it again. I created a server_restart.bat, and it works properly, tested it a few times manually. It kills the server and BEC then waits 10 seconds, starts the server, waits another 10 seconds, and starts BEC. So I am pretty sure the issue is not with my batch file. I have the scheduler configured like this at the moment, feel free to take it for your own if you know how to fix it. I tried calling a command to execute my restart.bat, but BEC continues to say that it is a bad command, so I tried the #shutdown command, with another task afterwards to execute the server launcher.bat, and that fails to actually start the server, let alone, it won't actually start BEC again either, since BEC closes when the server shuts down.
This is my current scheduler.xml, any help would be appreciated at getting my restart.bat to work properly.
I just took the scheduler that came with BEC and edited it to serve my needs, hence why some of the original commented lines are still there for a tutorial of what the tasks originally did before I repurposed them.
Question
colklutz88
I have previously ran a server, but BEC has updated a few times since the last time I ran one, just hoping someone here can look over my scheduler.xml and shed some light on where my commands are wrong. BEC properly schedules all 14 tasks, however, when the server comes due for a restart, it kills the server without starting it again. I created a server_restart.bat, and it works properly, tested it a few times manually. It kills the server and BEC then waits 10 seconds, starts the server, waits another 10 seconds, and starts BEC. So I am pretty sure the issue is not with my batch file. I have the scheduler configured like this at the moment, feel free to take it for your own if you know how to fix it. I tried calling a command to execute my restart.bat, but BEC continues to say that it is a bad command, so I tried the #shutdown command, with another task afterwards to execute the server launcher.bat, and that fails to actually start the server, let alone, it won't actually start BEC again either, since BEC closes when the server shuts down.
This is my current scheduler.xml, any help would be appreciated at getting my restart.bat to work properly.
http://pastebin.com/BqaVCRUG
I just took the scheduler that came with BEC and edited it to serve my needs, hence why some of the original commented lines are still there for a tutorial of what the tasks originally did before I repurposed them.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now