BEC Scheduler not working, Can anyone help me fix this?

Punkasaur

New Member
Hey guys. I've had some trouble with getting the BEC Scheduler to work.. I believe everything is correct but obviously it's not. I'm new to this and I tried for a few hours to try get it to work before I came here. Can anyone please help? Thank you.

In the BEC error log i'm getting these errors.
19:47:39 : Parsing the Schedular File Failed, Recheck The File : not well-formed (invalid token): line 193, column 60
19:14:54 : Parsing the Schedular File Failed, Recheck The File : not well-formed (invalid token): line 50, column 0
12:48:07 : Parsing the Schedular File Failed, Recheck The File : not well-formed (invalid token): line 16, column 8
09:33:52 : Parsing the Schedular File Failed, Recheck The File : not well-formed (invalid token): line 105, column 46

I looked through my schedule.xml on the site, and I downloaded it and looked at it with notepad++ but I still can't see what this error is.

My schedule.xml file is this.

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<?xml-stylesheet href="acs.xsl" type="text/xsl" ?>

<Scheduler>
   
    <job id="0">
        <time>05:50:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 Server will Auto restart in 10 min</cmd>   
        <cmdtype>0</cmdtype>           
    </job>
   
    <job id="1">
        <time>05:55:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 Server will Auto restart in 5 min</cmd>   
        <cmdtype>0</cmdtype>           
    </job>   

    <job id="2">
        <time>05:58:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 Server will Auto restart in 1 minute, please exit your vehicle.</cmd>   
        <cmdtype>0</cmdtype>           
    </job>   
  
    <job id="3">
        <time>05:59:30</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 Server is Auto restarting now.</cmd>   
        <cmdtype>0</cmdtype>           
    </job>   

    <job id="4">
        <time>06:00:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>#restart</cmd>   
        <cmdtype>0</cmdtype>
    </job>

    <job id="5">
        <time>11:50:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 Server will Auto restart in 10 min</cmd>   
        <cmdtype>0</cmdtype>           
    </job>
   
    <job id="6">
        <time>011:55:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 Server will Auto restart in 5 min</cmd>   
        <cmdtype>0</cmdtype>           
    </job>   

    <job id="7">
        <time>11:58:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 Server will Auto restart in 1 minute, please exit your vehicle.</cmd>   
        <cmdtype>0</cmdtype>           
    </job>   
  
    <job id="8">
        <time>11:59:30</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 Server is Auto restarting now.</cmd>   
        <cmdtype>0</cmdtype>           
    </job>   

    <job id="9">
        <time>12:00:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>#restart</cmd>   
        <cmdtype>0</cmdtype>
    </job>

    <job id="10">
        <time>17:50:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 Server will Auto restart in 10 min</cmd>   
        <cmdtype>0</cmdtype>           
    </job>
   
    <job id="11">
        <time>17:55:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 Server will Auto restart in 5 min</cmd>   
        <cmdtype>0</cmdtype>           
    </job>   

    <job id="12">
        <time>17:58:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 Server will Auto restart in 1 minute, please exit your vehicle.</cmd>   
        <cmdtype>0</cmdtype>           
    </job>   
  
    <job id="13">
        <time>17:59:30</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 Server is Auto restarting now.</cmd>   
        <cmdtype>0</cmdtype>           
    </job>   

    <job id="14">
        <time>18:00:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>#restart</cmd>   
        <cmdtype>0</cmdtype>
    </job>

    <job id="15">
        <time>23:50:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 Server will Auto restart in 10 min</cmd>   
        <cmdtype>0</cmdtype>           
    </job>
   
    <job id="16">
        <time>23:55:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 Server will Auto restart in 5 min</cmd>   
        <cmdtype>0</cmdtype>           
    </job>   

    <job id="17">
        <time>23:58:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 Server will Auto restart in 1 minute, please exit your vehicle.</cmd>   
        <cmdtype>0</cmdtype>           
    </job>   
  
    <job id="18">
        <time>23:59:30</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 Server is Auto restarting now.</cmd>   
        <cmdtype>0</cmdtype>           
    </job>   

    <job id="19">
        <time>23:59:59</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>#restart</cmd>   
        <cmdtype>0</cmdtype>
    </job>



    <job id="20">
        <time>001000</time>
        <delay>000010</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>1</loop>
        <cmd>say -1 Your admins are Arkodal, Chris, Gunter & Punk. If you have any issues on this server, be sure to contact any one of them!</cmd>   
        <cmdtype>0</cmdtype>           
    </job> 

</Scheduler>


It is to restart the server every 6 hours at the correct server time with the warnings along with the job 20 being a 10 minute spam of who the admins are, this is not a finished message I am just trying to get this tow work.

I can link the config file if needed, but I believe from the error messages, the error is here somewhere. any help is greatly appreciated! thank you.
 
It seems I have fixed the issue. I deleted all the spaces at the end of each line and it started working. I also had to remove the & and replace it with and.
 
Last edited:
Back
Top