Scheduler.xml !?

niall straughan

Well-Known Member
Ive been trying to configure this for sometime for restarts but i just cant seem to get this to work, ive tried to different scheduler.xml files and neither work, also i have no BE errors. Im hosting a GTX gaming server, same file system as vilayer and HFB i think
These are the two ones ive tried:

Code:
<?xml version="1.0" encoding="Windows" standalone="yes" ?>

<Scheduler>

    <job id="0">
        <time>015000</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>015500</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>015900</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 min</cmd>
        <cmdtype>0</cmdtype>
    </job>



    <job id="3">
        <time>000300</time> <!-- run once after 3 min -->
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 DZS has now been running for 3 min</cmd>
        <cmdtype>0</cmdtype>
    </job>

     <job id="4">
        <time>23:37:00</time> <!-- run once after 3 min -->
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 DZS has now died</cmd>
        <cmdtype>0</cmdtype>
    </job>

</Scheduler>

Other file:

<?xml version="1.0" encoding="Windows" standalone="yes" ?>

<Scheduler>

<job id="0">
        <time>08:00: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 min</cmd>
        <cmdtype>0</cmdtype>
    </job>

<job id="1">
        <time>10:00: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 min</cmd>
        <cmdtype>0</cmdtype>
    </job>

<job id="3">
        <time>12:00: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 min</cmd>
        <cmdtype>0</cmdtype>
    </job>

<job id="4">
        <time>14:00: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 min</cmd>
        <cmdtype>0</cmdtype>
    </job>

<job id="5">
        <time>16:00: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 min</cmd>
        <cmdtype>0</cmdtype>
    </job>

<job id="6">
        <time>18:00: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 min</cmd>
        <cmdtype>0</cmdtype>
    </job>

<job id="7">
        <time>20:00: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 min</cmd>
        <cmdtype>0</cmdtype>
    </job>
  
    <job id="8">
        <time>22:00: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 min</cmd>
        <cmdtype>0</cmdtype>
    </job>
  
    <job id="9">
        <time>00:00: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 min</cmd>
        <cmdtype>0</cmdtype>
    </job>
  
    <job id="10">
        <time>02:00: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 min</cmd>
        <cmdtype>0</cmdtype>
    </job>

</Scheduler>

The server is in england so standard UTC time (hosted in the UK), which i thnk is 'windows', but the xml version line etc doesnt come default with the file, ive tried with and without the 1st line, still not working.

This is my config.cfg

Code:
[Bec]
Ip = 188.165.193.15
Port = 5502
BePath = D:\TCAFiles\Users\nialls\4908\instance_11_Chernarus\BattlEye
LogDir = logs
Admins = D:\TCAFiles\Users\nialls\4908\Bec\Config\Admins.xml
Commands = D:\TCAFiles\Users\nialls\4908\Bec\Config\Commands.xml

[Misc]
ServerExeName = 4908.exe
NickFilterFile = BadNames.txt
WordFilterFile = BadWords.txt
Warnings = 1
Color = 1c
Scheduler = D:\TCAFiles\Users\nialls\4908\Bec\Config\Scheduler.xml

the Sheduler path is correct, and ive never change anything in the file,
my server has 2 hour restarts

I have no errors in my BE folder.

Please someone help me!
 
Last edited:
It doesn't work that way. If it's loading in the rpt then there will be an error generated into the Error folder. If it's not listed as loading in the rpt file then that narrows down where to look.

Post me your rpt log and I'll take a look at it.
 
I looked at your log. There are multiple issues at play. For one, it doesn't look like BEC is starting. Your server is pouring out a lot of errors too that you need to track down and kill so that may or may not be the issue.

I really need to look at the server backend if that's possible. If you are US then PM me and I'll send you my cell # so you know I'm not some idiot that wants to do you trouble. You need to find a coder too so they can sort out the problems on the server. I would but I'm running two servers myself now and doing all the coding for them.
 
Change this
Code:
<?xml version="1.0" encoding="Windows" standalone="yes" ?>
to this
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<?xml-stylesheet href="acs.xsl" type="text/xsl" ?>
<!-- Written by www.postapocalypse.us -->
 
Back
Top