• 0
hogansheroes

Scheduler Issue

Question

Hey all just making this as a new post as im having problems for my Scheduler to work in Bec for some reason it dont show up on the server to say when the server will restart.

So could someone please have alook to see if this is correct or what have i done wrong please.

 

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

<Scheduler>

<!-- this job will start after 10 minutes and run forever with a 1 hour and 30 minutes interval between the jobs -->
<job id='0'>
<day>1,2,3,4,5,6,7</day>
<start>003000</start>
<runtime>003000</runtime>
<loop>-1</loop>
<cmd>say -1 This Server Restarts Every 6 Hours</cmd>
</job>

<!-- this job will start after 30 seconds and will only run once. note that the runtime tag is ignored when loop is 0 -->
<job id='1'>
<day>1,2,3,4,5,6,7</day>
<start>003200</start>
<runtime>003000</runtime>
<loop>-1</loop>
<cmd>say -1 This Server Is PvE Only</cmd>
</job>

<!-- this job will start after 15 seconds and will run every 25 sec. total times the message will be show is 6 times -->
<job id='2'>
<day>1,2,3,4,5,6,7</day>
<start>003500</start>
<runtime>003000</runtime>
<loop>-1</loop>
<cmd>say -1 There Is No Stealing In Safe Zones</cmd>
</job>


<!-- this job will start at 06:00:00 (6 am) and will only run once a day at set time -->
<job id='3'>
<day>1,2,3,4,5,6,7</day>
<start>003300</start>
<runtime>003000</runtime>
<loop>0</loop>
<cmd>say -1 To Stay Up To Date JOIN www.whocares.com</cmd>
</job>

<!-- this job will start at 07:00:00 (7 am) and will repeat itself every 20 min for 3 more time. in total 4 times. will run at set time for defined days -->
<job id='4'>
<day>1,2,3,4,5,6,7</day>
<start>000400</start>
<runtime>003000</runtime>
<loop>-1</loop>
<cmd>say -1 Welcome To Ultimate Exile PvE (Brought To You By the boogie man)</cmd>
</job>

<!-- this job will start at 05:00:00 (5 am) and will repeat itself every 15 min forever for defined days -->
<job id='5'>
<day>1,2,3,4,5,6,7</day>
<start>050000</start>
<runtime>050000</runtime>
<loop>0</loop>
<cmd>say -1 Restarting In 1 Hour</cmd>
</job>

<job id='6'>
<day>1,2,3,4,5,6,7</day>
<start>053000</start>
<runtime>053000</runtime>
<loop>0</loop>
<cmd>say -1 Restarting In 30 Minutes - Start Heading To Your Base</cmd>
</job>

<job id='7'>
<day>1,2,3,4,5,6,7</day>
<start>055000</start>
<runtime>055000</runtime>
<loop>0</loop>
<cmd>say -1 Restarting In 10 Minutes - Start Preparing To Log Out</cmd>
</job>

<job id='8'>
<day>1,2,3,4,5,6,7</day>
<start>055500</start>
<runtime>055500</runtime>
<loop>0</loop>
<cmd>say -1 Restarting In 5 Minutes - Start Preparing To Log Off</cmd>
</job>

<job id='9'>
<day>1,2,3,4,5,6,7</day>
<start>055800</start>
<runtime>055800</runtime>
<loop>0</loop>
<cmd>say -1 Restarting In 2 Minutes - Save Gear And Logout</cmd>
</job>

<job id='10'>
<day>1,2,3,4,5,6,7</day>
<start>055900</start>
<runtime>060000</runtime>
<loop>0</loop>
<cmd>say -1 Restarting In 1 Minutes - Save Gear And Logout NOW</cmd>
</job>

<job id='11'>
<day>1,2,3,4,5,6,7</day>
<start>060000</start>
<runtime>060000</runtime>
<loop>0</loop>
<cmd>C:\Servers\Exile\stopserver.bat</cmd>
</job>

</Scheduler>

Share this post


Link to post
Share on other sites

41 answers to this question

  • 0

Hey,

Can you connect to the server using an Rcon tool like DaRT?

 

What happens when your scheduler gets to the last part ?

What is the actual issue when the scheduler runs?

do you get errors ?

 

Edited by GamersRoost

Share this post


Link to post
Share on other sites
  • 0

It should work, below is mine, works like a charm. 

And if any is wondering why I have in job 0 & 1 #unlock commands, these are fail safes if Exile fails to unlock the server. As well for job 14 with #shutdown, again a fail safe.

<?xml version="1.0"?>

<Scheduler>
    <job id='0'>
        <day>1,2,3,4,5,6,7</day>
        <start>000230</start>
        <runtime>000230</runtime>
        <loop>-1</loop>
        <cmd>#unlock</cmd>
    </job>
    <job id='1'>
        <day>1,2,3,4,5,6,7</day>
        <start>000245</start>
        <runtime>000245</runtime>
        <loop>0</loop>
        <cmd>#unlock</cmd>
    </job>    
    <job id='2'>
        <day>1,2,3,4,5,6,7</day>
        <start>053000</start>
        <runtime>053000</runtime>
        <loop>5</loop>
        <cmd>say -1 Server will restart in 30 minutes.</cmd>
    </job>
    <job id='3'>
        <day>1,2,3,4,5,6,7</day>
        <start>054000</start>
        <runtime>054000</runtime>
        <loop>0</loop>
        <cmd>say -1 Server will restart in 20 minutes.</cmd>
    </job>
    <job id='4'>
        <day>1,2,3,4,5,6,7</day>
        <start>054500</start>
        <runtime>054500</runtime>
        <loop>3</loop>
        <cmd>say -1 Server will restart in 15 minutes.</cmd>
    </job>
    <job id='5'>
        <day>1,2,3,4,5,6,7</day>
        <start>054930</start>
        <runtime>054930</runtime>
        <loop>-1</loop>
        <cmd>say -1 Server has been locked for additional players.</cmd>
    </job>
    <job id='6'>
        <day>1,2,3,4,5,6,7</day>
        <start>054945</start>
        <runtime>054945</runtime>
        <loop>-1</loop>
        <cmd>#lock</cmd>
    </job>
    <job id='7'>
        <day>1,2,3,4,5,6,7</day>
        <start>055000</start>
        <runtime>055000</runtime>
        <loop>-1</loop>
        <cmd>say -1 Server will restart in 10 minutes.</cmd>
    </job>
    <job id='8'>
        <day>1,2,3,4,5,6,7</day>
        <start>055200</start>
        <runtime>055200</runtime>
        <loop>-1</loop>
        <cmd>say -1 Please logout now to ensure all data is saved correctly.</cmd>
    </job>
    <job id='9'>
        <day>1,2,3,4,5,6,7</day>
        <start>055400</start>
        <runtime>055400</runtime>
        <loop>-1</loop>
        <cmd>say -1 Players will be flushed from server shortly, restart in 6 minutes.</cmd>
    </job>
    <job id='10'>
        <day>1,2,3,4,5,6,7</day>
        <start>000800</start>
        <runtime>001500</runtime>
        <loop>-1</loop>
        <cmd>say -1 [ISAF] Visit us online; http://isaf-gaming.org</cmd>
    </job>
    <job id='11'>
        <day>1,2,3,4,5,6,7</day>
        <start>001000</start>
        <runtime>001530</runtime>
        <loop>-1</loop>
        <cmd>say -1 [ISAF] Join us on Teamspeak; ts.isaf-gaming.org</cmd>
    </job>
    <job id='12'>
        <day>1,2,3,4,5,6,7</day>
        <start>001100</start>
        <runtime>001600</runtime>
        <loop>-1</loop>
        <cmd>say -1 [ISAF] We're looking for Game Admins, submit your application on our website today!</cmd>
    </job>
    <job id='13'>
        <day>1,2,3,4,5,6,7</day>
        <start>001200</start>
        <runtime>001630</runtime>
        <loop>-1</loop>
        <cmd>say -1 [ISAF] Did you know: All bug reports and refund claims must be submitted to us on our website!</cmd>
    </job>
    <job id='14'>
        <day>1,2,3,4,5,6,7</day>
        <start>060030</start>
        <runtime>060030</runtime>
        <loop>-1</loop>
        <cmd>#shutdown</cmd>
    </job>
</Scheduler>

 

This works perfectly fine. :) 

  • Like 1

Share this post


Link to post
Share on other sites
Advertisement
  • 0

i do have epmrcon also dart but the messages dont come up on either of them.

Also is there anything that need to be done correctly with Bec

Edited by hogansheroes

Share this post


Link to post
Share on other sites
  • 0

i do have epmrcon also dart but the messages dont come up on either of them.

Also is there anything that need to be done correctly with Bec

do you see a login message in your server console when using DaRt rcon to connect?

admin connected <yourip>:xxxx ?

 

Share this post


Link to post
Share on other sites
  • 0

 

i dont know what you mean by this, sorry

What he mean is: 

BECresponse.thumb.png.bf10cee2762d5d65b6

Do you see "Scheduling xx tasks" if not, then you have a issue with your scheduler. 

  • Like 1

Share this post


Link to post
Share on other sites
  • 0

Make sure you have a bans.txt or it won't run. Also, make sure the rest of your BEC files like Admins.xml, BadNames.txt, BadWords.txt etc are in the right location. 

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.