Jump to content
Sign in to follow this  
Draay (DayZ)

Scheduler issue

Recommended Posts

Hey guys,

I'm a little confused as to why the scheduler isn't working as it should.

I've added everything to the config file and edited the scheduler after BEC was installed by the host.

BEC starts up fine as admins.xml and commands.xml are loading but not the scheduler.

If anyone could help me sort this issue out, i would be really grateful as nor i or the host can see the issue.

Here is what i have in the config.cfg:


[Bec]
Ip = <removed>
Port = 2332
BePath = C:\TCAFiles\Users\Username\105\Bliss\BattlEye\
LogDir = Server1
Admins = Admins.xml
Commands = Commands.xml
Scheduler = Scheduler.xml

And here is the scheduler:


<?xml version="1.0"?>
<!-- This file is only provided as an example file and is not practical to use in real life. BE Commands supported by the scheduler system are: say -1 some text loadbans loadscripts loadevents writebans #shutdown #restart #reassign #lock #unlock #mission filename (without the .pbo extension) -->
-<Scheduler>
<!-- *** RESTARTS *** -->

<!-- 5 min to the 06:00 restart -->
<job id="0">
<time>05:55</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>

<!-- 5 min to the 12:00 restart -->
<job id="1">
<time>11:55</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>

<!-- 5 min to the 18:00 restart -->
<job id="2">
<time>17:55</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>

<!-- 5 min to the 00:00 restart -->
<job id="3">
<time>23:55</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>

<!-- Scheduler Test -->
<job id="4">
<time>000100</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 If you see this every 1 minute, Schedules are working.</cmd>
<cmdtype>0</cmdtype>
</job>
</Scheduler>

Edited by Draay

Share this post


Link to post
Share on other sites

Doesn't seem that wrong, but you could remove that minus (-) sign in front of the <Scheduler> tag...

-<Scheduler>

Also check if the Scheduler.xml is located inside the "config" folder of your Bec folder;

And check if the scheduler filename is indeed capitalized as in (S)cheduler.xml...

I noticed your output is only text... how are you doing the restarts?

Share this post


Link to post
Share on other sites

Ignore the - it's something to close sections and is not there on the actual file.

The restarts were being handled by the scheduler but as it's not working i'm using the scheduled tasks in the control panel (there are no warnings though and it annoys the players). All the files are inside

\BEC\Config\

and these are the files currently in there:

Admins.xml

BadNames.txt

BadWords.txt

Commands.xml

Config.cfg

Scheduler.xml

WhiteList_Example.txt

In the Config.cfg the scheduler is indeed capitalized as shown and so are the files above.

Share this post


Link to post
Share on other sites

hi forgive the late replay but i think i know why its not coming up the Scheduler = Scheduler.xml needs to be in the [Misc] header it took me ages to realize this as i was un commenting the file for the parts i wanted in my server i left this header hashed and couldnt work out why it wasnt working so after about 2 hours of messing about i noticed it wasnt there i hope this helps mate

http://ibattle.org/install-and-configure/configure/

Share this post


Link to post
Share on other sites

I'll get back to you but it makes sense.

EDIT: You're a life saver.

Edited by Draay

Share this post


Link to post
Share on other sites

cool so its all working now i must admit i was messing about for about 2 hours didnt notice that the [Misc] was commented out so it was skipping the whole thing i was like ahhhh you idiot banging my head against the desk sometimes the simplest things elude us

  • Like 2

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×