Jump to content
  • 0

Problem with New Battleye Extended Controls (Bec) Scheduler File problem


ghostfur

Question

Hi everyone i got a little problem with the new bec command tool it starts fine but it saying a error

like Schedular file contains a error start tag missing where id = 0 i didnt had this before with older versions of bec command and Always use the same schedular are there more people with the same problem?

Here my schedular.xml with 3 hour restart 

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<?xml-stylesheet href="acs.xsl" type="text/xsl" ?>
<Scheduler>
  <job id="0">
         <time>020000</time> 
         <delay>000000</delay>
         <day>1,2,3,4,5,6,7</day>
         <loop>1</loop>                         
         <cmd>say -1 Server will restart in 1 hour.</cmd>    
         <cmdtype>0</cmdtype>                
     </job>

  <job id="1">
         <time>023000</time>
         <delay>000000</delay>
         <day>1,2,3,4,5,6,7</day>
         <loop>1</loop>                         
         <cmd>say -1 Server will restart in 30 minutes..</cmd>    
         <cmdtype>0</cmdtype>                
     </job>


  <job id="2">
         <time>025000</time> 
         <delay>000000</delay>
         <day>1,2,3,4,5,6,7</day>
         <loop>1</loop>                         
         <cmd>say -1 Server will restart in 10 minutes.</cmd>    
         <cmdtype>0</cmdtype>                
     </job>


  <job id="3">
         <time>025500</time> 
         <delay>000000</delay>
         <day>1,2,3,4,5,6,7</day>
         <loop>1</loop>                         
         <cmd>say -1 Server will restart in 5 minutes.</cmd>    
         <cmdtype>0</cmdtype>                
     </job>

 <job id="4">
         <time>025700</time>
         <delay>000000</delay>
         <day>1,2,3,4,5,6,7</day>
         <loop>0</loop>
         <cmd>C:\Users\Administrator\Desktop\DayZ Server\Backup.bat</cmd>
         <cmdtype>1</cmdtype>                
     </job>

  <job id="5">
         <time>025800</time>  
         <delay>000000</delay>
         <day>1,2,3,4,5,6,7</day>
         <loop>1</loop>                         
         <cmd>say -1 Log of in advance to prevent losing unsaved character data.</cmd>  
         <cmdtype>0</cmdtype>                
     </job>


 <job id="6">
         <time>025900</time> 
         <delay>000000</delay>
         <day>1,2,3,4,5,6,7</day>
         <loop>1</loop>                         
         <cmd>say -1 Server will restart in 1 minute.</cmd>    
         <cmdtype>0</cmdtype>                
     </job>

 <job id="7">
         <time>030000</time>
         <delay>000000</delay>
         <day>1,2,3,4,5,6,7</day>
         <loop>0</loop>
         <cmd>C:\Users\Administrator\Desktop\DayZ Server\Server_Restart.bat</cmd>
         <cmdtype>1</cmdtype>                
     </job>

 </Scheduler>  

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Here is mine yours has an extra xml tag at the top.  You also have loop ones.  Mine basically stops my server and then I use a window task to restart it and bec.

 

 

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

<Scheduler>

    <!-- Schedular to be shown all days in the week. -->
    <!-- show text ingame every 20 min -->
    <job id="0">
        <time>006000</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>1</loop>
        <cmd>say -1 Welcome to piggd DayZ Gaming dayzpiggd.enjin.com</cmd>    
        <cmdtype>0</cmdtype>
    </job>
    <!-- *** RESTARTS *** -->
    <!-- 15 min to the 06:00 restart -->
    <job id="1">
        <time>054500</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 The server will restart in 15 min.</cmd>
        <cmdtype>0</cmdtype>            
    </job>
    <!-- *** RESTARTS *** -->
    <!-- 5 min to the 06:00 restart -->
    <job id="2">
        <time>055500</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 This server will restart in 5 min.</cmd>
        <cmdtype>0</cmdtype>            
    </job>
    <!-- *** RESTARTS *** -->
    <!-- 1 min to the 06:00 restart -->
    <job id="3">
        <time>055900</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 This server will restart in 1 min.</cmd>
        <cmdtype>0</cmdtype>            
    </job>
    <!-- 06:00 restart -->
    <job id="4">
        <time>060000</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>#shutdown</cmd>
        <cmdtype>0</cmdtype>            
    </job>
    
</Scheduler>

Link to comment
Share on other sites

  • 0

Very strange iam also getting same error iam thinking to put older bec version back again

i dont know what cause the problem or what i do wrong very strange never had this before!

i tested your schedular and also didnt work mm

 

Scheduler file contains a error start tag missing where id=0

Link to comment
Share on other sites

  • 0

The scheduler system changed in Bec version 1.6+
if you are using 1.600 or 1.601 you need to adapt your scheduler to the new way.


 

<Scheduler>
    
    .....
    .....
    <job id='X'>
        <day>1,2,3,4,5,6,7</day>
        <start>003000</start>
        <runtime>000000</runtime>
        <loop>0</loop>
        <cmd>C:\Users\Administrator\Desktop\DayZ Server\Server_Restart.bat</cmd>
    </job>
    ....
    ....
    
<Scheduler>
Link to comment
Share on other sites

  • 0

Heres mine. Working fine

<job id='49'>
    <start>05:45:00</start>
    <day>1,2,3,4,5,6,7</day>
    <loop>0</loop>
	<runtime>000000</runtime>
     <cmd>say -1 Restart in 15 minutes</cmd>
    <cmdtype>0</cmdtype>
</job>
<job id='50'>
    <start>05:50:00</start>
    <day>1,2,3,4,5,6,7</day>
    <loop>0</loop>
	<runtime>000000</runtime>
     <cmd>say -1 Restart in 10 minutes</cmd>
    <cmdtype>0</cmdtype>
</job>
<job id='51'>
    <start>05:55:00</start>
    <day>1,2,3,4,5,6,7</day>
    <loop>0</loop>
	<runtime>000000</runtime>
     <cmd>say -1 Restart in 05 minutes</cmd>
    <cmdtype>0</cmdtype>
</job>
<job id='52'>
    <start>05:57:00</start>
    <day>1,2,3,4,5,6,7</day>
    <loop>0</loop>
	<runtime>000000</runtime>
     <cmd>say -1 Restart in 03 minutes</cmd>
    <cmdtype>0</cmdtype>
</job>
<job id='53'>
    <start>05:58:00</start>
    <day>1,2,3,4,5,6,7</day>
    <loop>0</loop>
	<runtime>000000</runtime>
     <cmd>say -1 Restart in 02 minutes</cmd>
    <cmdtype>0</cmdtype>
</job>
<job id='54'>
    <start>05:59:00</start>
    <day>1,2,3,4,5,6,7</day>
    <loop>0</loop>
	<runtime>000000</runtime>
     <cmd>say -1 Restart in 01 minute</cmd>
    <cmdtype>0</cmdtype>
</job>
<job id='55'>
    <start>06:00:00</start>
    <day>1,2,3,4,5,6,7</day>
    <loop>0</loop>
	<runtime>000000</runtime>
     <cmd>d:\pale\dayz-epoch\kill-dayz-and-bec.bat</cmd>
    <cmdtype>1</cmdtype>
</job>

There are a few changes with the new BEC

 

<job id="2">    Replace all " with '

Replace all instances of time with start

Add the runtime command.

 

Change loop to 0

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...