ThelMightylThor Posted December 3, 2014 Report Share Posted December 3, 2014 Could somebody take a look at my scheduler.xml and tell me why it is not working? <?xml version="1.0"?> <Scheduler> <!-- this job will start after 10 minutes and run forever with 30 minute intervals between jobs --> <job id='0'> <day>1,2,3,4,5,6,7</day> <start>001000</start> <runtime>003000</runtime> <loop>-1</loop> <cmd>say -1 Server restarts on 6 hour intervals at 12 am, 6 am, 12 pm, and 6 pm EST.</cmd> </job> <!-- this restart will start at 00:00:00 (midnight) and will only run once a day at set time --> <job id='1'> <day>1,2,3,4,5,6,7</day> <start>00:00:00</start> <runtime>000000</runtime> <loop>0</loop> <cmd>#restart</cmd> </job> <!-- this restart will start at 06:00:00 (6 am) and will only run once a day at set time --> <job id='2'> <day>1,2,3,4,5,6,7</day> <start>06:00:00</start> <runtime>000000</runtime> <loop>0</loop> <cmd>#restart</cmd> </job> <!-- this restart will start at 12:00:00 (noon) and will only run once a day at set time --> <job id='3'> <day>1,2,3,4,5,6,7</day> <start>12:00:00</start> <runtime>000000</runtime> <loop>0</loop> <cmd>#restart</cmd> </job> <!-- this restart will start at 18:00:00 (6 pm) and will only run once a day at set time --> <job id='4'> <day>1,2,3,4,5,6,7</day> <start>18:00:00</start> <runtime>000000</runtime> <loop>0</loop> <cmd>#restart</cmd> </job> </Scheduler> Link to comment Share on other sites More sharing options...
oSoDirty Posted December 3, 2014 Report Share Posted December 3, 2014 If you just copied and pasted then edited the template provided in ibattle you probably have a bunch of spaces in front of the text. It's very particular and has to be perfect. Open you scheduler.xml with notepad++ make sure it is still spaced properly and using the arrows do through each line one at a time pressing the end key each time and backspacing any space in front of the last > This was what got mine working. Use this as an example, highlight the text starting from the left in the box. this extra space is bad> Link to comment Share on other sites More sharing options...
ThelMightylThor Posted December 3, 2014 Author Report Share Posted December 3, 2014 If you just copied and pasted then edited the template provided in ibattle you probably have a bunch of spaces in front of the text. It's very particular and has to be perfect. Open you scheduler.xml with notepad++ make sure it is still spaced properly and using the arrows do through each line one at a time pressing the end key each time and backspacing any space in front of the last > This was what got mine working. Use this as an example, highlight the text starting from the left in the box. this extra space is bad> I tried that and I don't notice any extra space, does the scheduler need to be defined anywhere besides BEC\Config\Config.cfg ? this is what my config.cfg looks like #GENERATED AUTOMATICALLY BY VERT HOSTING [bec] Ip = 162.223.29.138 Port = 2552 BePath = C:\TCAFiles\Users\ThorJ\1516\ServerConfig\BattlEye Admins = Admins.xml Commands = Commands.xml LogDir = Server1 [Misc] Scheduler = Scheduler.xml AsciiChatOnly = True IgnoreChatChars = ����� ConsoleColor = 1f Timeout = 90 KickLobbyIdlers = 500 Link to comment Share on other sites More sharing options...
oSoDirty Posted December 3, 2014 Report Share Posted December 3, 2014 I use also use vert, for my public servers, they use an outdated version ;) Try this: <?xml version="1.0"?> <Scheduler> <job id="0"> <time>000300</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Im Working!!!</cmd> <cmdtype>0</cmdtype> </job> </Scheduler> 3 min uptime you should a message. Link to comment Share on other sites More sharing options...
ThelMightylThor Posted December 3, 2014 Author Report Share Posted December 3, 2014 Okay thanks I will try that. Link to comment Share on other sites More sharing options...
oSoDirty Posted December 3, 2014 Report Share Posted December 3, 2014 Also note that your server will think its whatever time it is where the database is located, not your server its self or your computer. I actually have to set my restarts an hr earlier on my scheduler and it does it on time. (00:00:00) is (23:00:00) and i restart every 3 hrs starting 12am EST. So you may run into this as well even though, (im guessing) you have a Georgia server. Test it once you get the other working by changing the time to a static setting a few minutes out from when you are going to be logged in and see what you get. Give yourself plenty of time to edit the scheduler and restart the server. Link to comment Share on other sites More sharing options...
ThelMightylThor Posted December 3, 2014 Author Report Share Posted December 3, 2014 Also note that your server will think its whatever time it is where the database is located, not your server its self or your computer. I actually have to set my restarts an hr earlier on my scheduler and it does it on time. (00:00:00) is (23:00:00) and i restart every 3 hrs starting 12am EST. So you may run into this as well even though, (im guessing) you have a Georgia server. Test it once you get the other working by changing the time to a static setting a few minutes out from when you are going to be logged in and see what you get. Give yourself plenty of time to edit the scheduler and restart the server. Okay I tried the example scheduler you posted earlier and that didn't work either. I sat on the server until debug menu said 10 minutes uptime and got nothing.. I am going to email vert and see what they say. Link to comment Share on other sites More sharing options...
oSoDirty Posted December 3, 2014 Report Share Posted December 3, 2014 They'll get it working for sure. They have never let me down, Link to comment Share on other sites More sharing options...
patrick8996 Posted December 3, 2014 Report Share Posted December 3, 2014 This is what mine looks like with 5 hour restarts just in case they cant help <Scheduler> <job id='0'> <day>1,2,3,4,5,6,7</day> <start>043000</start> <runtime>043000</runtime> <loop>1</loop> <cmd>say -1 /!\ Restart In 30 Minutes /!\</cmd> </job> <job id='1'> <day>1,2,3,4,5,6,7</day> <start>044500</start> <runtime>044500</runtime> <loop>1</loop> <cmd>say -1 /!\ Restart in 15 Minutes /!\</cmd> </job> <job id='2'> <day>1,2,3,4,5,6,7</day> <start>045000</start> <runtime>045000</runtime> <loop>1</loop> <cmd>say -1 /!\ Restart In 10 Minutes /!\</cmd> </job> <job id='3'> <day>1,2,3,4,5,6,7</day> <start>045500</start> <runtime>045500</runtime> <loop>1</loop> <cmd>say -1 /!\ Restart In 5 Minutes /!\</cmd> </job> <job id='4'> <day>1,2,3,4,5,6,7</day> <start>045900</start> <runtime>045900</runtime> <loop>1</loop> <cmd>say -1 /!\ Restart In 1 Minute /!\</cmd> </job> <job id='5'> <day>1,2,3,4,5,6,7</day> <start>050000</start> <runtime>050000</runtime> <loop>1</loop> <cmd>C:\wamp\www\dayzepoch\bats\arma3epoch.bat</cmd> </job> <job id='6'> <day>1,2,3,4,5,6,7</day> <start>002000</start> <runtime>002000</runtime> <loop>-1</loop> <cmd>say -1 Server Restarts Every 5 Hours With Multiple Warnings!</cmd> </job> <job id='7'> <day>1,2,3,4,5,6,7</day> <start>001500</start> <runtime>001500</runtime> <loop>-1</loop> <cmd>say -1 Why Not Support Us While Enjoying An Amazing Server? Consider Donating To Help Keep Our Dedicated Server Alive!</cmd> </job> </Scheduler> As you can see I have a bat file that shuts down the server and then restarts it, I also have an advertisement that goes every 15 minutes, Tell me if this helps you Link to comment Share on other sites More sharing options...
oSoDirty Posted December 3, 2014 Report Share Posted December 3, 2014 I use the shut down command. But i feel like sharing something i found for other dedi users. @echo off color 0a title Server Starter :top echo Launching And Watching Server start /wait "arma2" /min "H:\overpochinsServer\arma2oaserver.exe" -port=6660 "-bepath=H:\overpochinsServer\BattlEye" "-config=instance_13_Tavi\config.cfg" "-cfg=instance_13_Tavi\basic.cfg" "-profiles=instance_13_Tavi" -name=instance_13_Tavi "-mod=@Origins;@DayzOverwatch;@DayZ_Epoch;@DayZ_Epoch_Server;" ping 127.0.0.1 -n 5 >NUL echo Server has exited ... Restarting! ping 127.0.0.1 -n 1 >NUL cls goto top Just replace the start line with your start line in your .bat file. This will monitor the server and restart it if any thing causes it to crash including BEC. @echo off color 0a title Server Starter :top echo Launching And Watching BEC ping 127.0.0.1 -n 30 >NUL start /wait "" /min "H:\overpochinsServer\ServerTools\bec.exe" -f config.cfg ping 127.0.0.1 -n 5 >NUL echo Server has exited ... Restarting! cls goto top Just correct the file path and leave arguments on start line. This one will do the same for BEC but does a 30 sec ping to give the server time to boot. The 1st time you use it it will tell you the config cant be found in blah\blahfolder. Thats because it isn't in that folder, Just put it there, and all will work fine. can also place these in your startup folder as well as xampp and set it to autoconnect. It will also work against computer crashes as well. I take no credit for this, all i did was take one used for the DayZ vanilla mod and make it work for epoch and BEC. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now