ThrottleFox

Scheduler.xml issues [FIXED]

1 post in this topic

I'm new to scripting and all this stuff, for the most part its working out easy and I'm learning as I go, I can for the most part I've learned how to edit traders add mods and change setting within those and the server ect, but for the life of me I cant seem to get BEC to work right, I edited the Scheduler.xml as said on the BE site, I want it to notify players of the restarts I've set up via my host provider(those work fine), its not giving the notifications or the text out as I wish it too.

I'm asking and hoping someone with a little more experience can help me out, this is everything in my current Scheduler.xml

Spoiler

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

    <!-- this job will start after 2 minutes and run forever with a 15 minutes interval between the jobs -->
    <job id='0'>
        <day>1,2,3,4,5,6,7</day>
        <start>000120</start>
        <runtime>001500</runtime>
        <loop>-1</loop>
        <cmd>say -1 This server auto restarts 4 times per day, 06:00, 12:00, 18:00 and 00:00</cmd>
    </job>

    <!-- 06:00 restart -->
    <job id='1'>
        <day>1,2,3,4,5,6,7</day>
        <start>05:50:00</start>
        <runtime>000000</runtime>
        <loop>0</loop>
        <cmd>say -1 The server will auto restart in 10 minutes.</cmd>
    </job>

    <job id='2'>
        <day>1,2,3,4,5,6,7</day>
        <start>05:55:00</start>
        <runtime>000025</runtime>
        <loop>5</loop>
        <cmd>say -1 The server will auto restart in 5 minutes.</cmd>
    </job>

    <job id='3'>
        <day>1,2,3,4,5,6,7</day>
        <start>05:59:00</start>
        <runtime>000000</runtime>
        <loop>0</loop>
        <cmd>say -1 The server will auto restart in 60 seconds.</cmd>
    </job>

        <!-- 12:00 restart -->
    <job id='4'>
        <day>1,2,3,4,5,6,7</day>
        <start>11:50:00</start>
        <runtime>000000</runtime>
        <loop>0</loop>
        <cmd>say -1 The server will auto restart in 10 minutes.</cmd>
    </job>

    <job id='5'>
        <day>1,2,3,4,5,6,7</day>
        <start>11:55:00</start>
        <runtime>000025</runtime>
        <loop>5</loop>
        <cmd>say -1 The server will auto restart in 5 minutes.</cmd>
    </job>

    <job id='6'>
        <day>1,2,3,4,5,6,7</day>
        <start>11:59:00</start>
        <runtime>000000</runtime>
        <loop>0</loop>
        <cmd>say -1 The server will auto restart in 60 seconds.</cmd>
    </job>
    
        <!-- 18:00 restart -->
    <job id='7'>
        <day>1,2,3,4,5,6,7</day>
        <start>17:50:00</start>
        <runtime>000000</runtime>
        <loop>0</loop>
        <cmd>say -1 The server will auto restart in 10 minutes.</cmd>
    </job>

    <job id='8'>
        <day>1,2,3,4,5,6,7</day>
        <start>17:55:00</start>
        <runtime>000025</runtime>
        <loop>5</loop>
        <cmd>say -1 The server will auto restart in 5 minutes.</cmd>
    </job>

    <job id='9'>
        <day>1,2,3,4,5,6,7</day>
        <start>17:59:00</start>
        <runtime>000000</runtime>
        <loop>0</loop>
        <cmd>say -1 The server will auto restart in 60 seconds.</cmd>
    </job>
    
        <!-- 24:00 restart -->
    <job id='10'>
        <day>1,2,3,4,5,6,7</day>
        <start>23:50:00</start>
        <runtime>000000</runtime>
        <loop>0</loop>
        <cmd>say -1 The server will auto restart in 10 minutes.</cmd>
    </job>

    <job id='11'>
        <day>1,2,3,4,5,6,7</day>
        <start>23:55:00</start>
        <runtime>000025</runtime>
        <loop>5</loop>
        <cmd>say -1 The server will auto restart in 5 minutes.</cmd>
    </job>

    <job id='12'>
        <day>1,2,3,4,5,6,7</day>
        <start>23:59:00</start>
        <runtime>000000</runtime>
        <loop>0</loop>
        <cmd>say -1 The server will auto restart in 60 seconds.</cmd>
        </job>

        <!-- this job will start after 2 minutes and run forever with a 15 minutes interval between the jobs -->
    <job id='13'>
        <day>1,2,3,4,5,6,7</day>
        <start>000120</start>
        <runtime>001500</runtime>
        <loop>-1</loop>
        <cmd>say -1 This server Has Roaming AI, land and air patrols as well as missions. More will be added in the future</cmd>
    </job>

</Scheduler>

 

Issue fixed, this line

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

I changed too

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

<Scheduler>

And now it works. GAH, I really have to appreciate the modders and programmers doing the mods for this, simple things like this drive me bonkers

Edited by ThrottleFox

Share this post


Link to post
Share on other sites
Advertisement

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

  • Recently Browsing   0 members

    No registered users viewing this page.