Jump to content
DeepEuphoria

[Help Needed] Server Scheduler Code Issue (Have I Made A Mistake?)

Recommended Posts

Hello everyone,

 

I run a few Private servers, recently I changed some of our Scheduled server messages in the BEC Scheduler.xml and some how broke the scheduler :rolleyes:

I've put a ticket in to Fragnet, but as good as they are, they can't see the reason why it's not working. I'm sure it's just a typo or code issue, but I cannot see it. I don't know if it's the "Loop Number", or "Job ID".... :(

So could some kind person take a look and let me know if you see the issue please.

<?xml version="1.0"?><Scheduler>        <!-- READ http://ibattle.org/install-and-configure/setting-up-the-scheduler/ -->    <job id="0">        <runtime>001000</runtime>        <start>000000</start>        <day>1,2,3,4,5,6,7</day>        <loop>6</loop>         <cmd>say -1 Message Goes Here</cmd>           <cmdtype>0</cmdtype>                </job>        <job id="1">        <runtime>001210</runtime>        <start>000000</start>        <day>1,2,3,4,5,6,7</day>         <loop>6</loop>         <cmd>say -1 Message Goes Here</cmd>            <cmdtype>0</cmdtype>                </job>        <job id="2">        <runtime>001425</runtime>        <start>000000</start>        <day>1,2,3,4,5,6,7</day>         <loop>6</loop>         <cmd>say -1 Message Goes Here</cmd>            <cmdtype>0</cmdtype>                 </job>            <job id="3">        <runtime>001642</runtime>        <start>000000</start>        <day>1,2,3,4,5,6,7</day>        <loop>6</loop>         <cmd>say -1 Message Goes Here</cmd>            <cmdtype>0</cmdtype>                </job>        </Scheduler>

Regards

Edited by euphoria4949

Share this post


Link to post
Share on other sites

Hello everyone,

 

I run a few Private servers, recently I changed some of our Scheduled server messages in the BEC Scheduler.xml and some how broke the scheduler :rolleyes:

I've put a ticket in to Fragnet, but as good as they are, they can't see the reason why it's not working. I'm sure it's just a typo or code issue, but I cannot see it. I don't know if it's the "Loop Number", or "Job ID".... :(

So could some kind person take a look and let me know if you see the issue please.

<?xml version="1.0"?><Scheduler>        <!-- READ http://ibattle.org/install-and-configure/setting-up-the-scheduler/ -->    <job id="0">        <runtime>001000</runtime>        <start>000000</start>        <day>1,2,3,4,5,6,7</day>        <loop>6</loop>         <cmd>say -1 Message Goes Here</cmd>           <cmdtype>0</cmdtype>                </job>        <job id="1">        <runtime>001210</runtime>        <start>000000</start>        <day>1,2,3,4,5,6,7</day>         <loop>6</loop>         <cmd>say -1 Message Goes Here</cmd>            <cmdtype>0</cmdtype>                </job>        <job id="2">        <runtime>001425</runtime>        <start>000000</start>        <day>1,2,3,4,5,6,7</day>         <loop>6</loop>         <cmd>say -1 Message Goes Here</cmd>            <cmdtype>0</cmdtype>                 </job>            <job id="3">        <runtime>001642</runtime>        <start>000000</start>        <day>1,2,3,4,5,6,7</day>        <loop>6</loop>         <cmd>say -1 Message Goes Here</cmd>            <cmdtype>0</cmdtype>                </job>        </Scheduler>

Regards

Hey, 

 

No your code is fine ! 

 

But to you have check if in your ACP , if you set the BEC on ? 

if he is Off your scheduler will not work 

 

If still not working i can give mine to try ! 

 

Cya

Share this post


Link to post
Share on other sites

Hey, 

 

No your code is fine ! 

 

But to you have check if in your ACP , if you set the BEC on ? 

if he is Off your scheduler will not work 

 

If still not working i can give mine to try ! 

 

Cya

 

Hi, yes I did check if the Scheduler was Enabled. It still does not work. It must be something with the "Loop" or "ID"...???

Edited by euphoria4949

Share this post


Link to post
Share on other sites

Hey man, I know I am with a different company but the code should still work the same, this is the standard code, try it if you want?

 

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
 
<!--
 
 
 
Default setup: Restarts every 4 hours with 15, 10, 5 and 1 minute warnings
 
-->
 
 
<Scheduler>
    <!-- Repeating messages -->
    <job id="0">
        <time>000200</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>1</loop>
        <cmd>say -1 TEST</cmd>
        <cmdtype>0</cmdtype>
    </job>
 
    <job id="1">
        <time>000500</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>1</loop>
        <cmd>say -1 TEST</cmd>
        <cmdtype>0</cmdtype>
    </job>
 
    <job id="2">
        <time>000700</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>1</loop>
        <cmd>say -1 TEST</cmd>
        <cmdtype>0</cmdtype>
    </job>
 
    <job id="3">
        <time>001100</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>1</loop>
        <cmd>say -1 TEST</cmd>
        <cmdtype>0</cmdtype>
    </job>
 
    <job id="4">
        <time>001700</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>1</loop>
        <cmd>say -1 This server restarts every 4 hours</cmd>
        <cmdtype>0</cmdtype>
    </job>
    <!-- End repeat messages -->
 
    <!-- Restarts -->
    <job id="5">
        <time>034500</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 This server will restart in 15 minutes</cmd>
        <cmdtype>0</cmdtype>
    </job>
    <job id="6">
        <time>035000</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 This server will restart in 10 minutes</cmd>
        <cmdtype>0</cmdtype>
    </job>
    <job id="7">
        <time>035500</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 minutes</cmd>
        <cmdtype>0</cmdtype>
    </job>
    <job id="8">
        <time>035900</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 This server will restart in 1 minute</cmd>
        <cmdtype>0</cmdtype>
    </job>
    <job id="9">
        <time>040000</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>#shutdown</cmd>
        <cmdtype>0</cmdtype>
    </job>
    <!-- End Restarts -->
</Scheduler>

Share this post


Link to post
Share on other sites

 

Hey man, I know I am with a different company but the code should still work the same, this is the standard code, try it if you want?

 

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
 
<!--
 
 
 
Default setup: Restarts every 4 hours with 15, 10, 5 and 1 minute warnings
 
-->
 
 
<Scheduler>
    <!-- Repeating messages -->
    <job id="0">
        <time>000200</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>1</loop>
        <cmd>say -1 TEST</cmd>
        <cmdtype>0</cmdtype>
    </job>
 
    <job id="1">
        <time>000500</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>1</loop>
        <cmd>say -1 TEST</cmd>
        <cmdtype>0</cmdtype>
    </job>
 
    <job id="2">
        <time>000700</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>1</loop>
        <cmd>say -1 TEST</cmd>
        <cmdtype>0</cmdtype>
    </job>
 
    <job id="3">
        <time>001100</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>1</loop>
        <cmd>say -1 TEST</cmd>
        <cmdtype>0</cmdtype>
    </job>
 
    <job id="4">
        <time>001700</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>1</loop>
        <cmd>say -1 This server restarts every 4 hours</cmd>
        <cmdtype>0</cmdtype>
    </job>
    <!-- End repeat messages -->
 
    <!-- Restarts -->
    <job id="5">
        <time>034500</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 This server will restart in 15 minutes</cmd>
        <cmdtype>0</cmdtype>
    </job>
    <job id="6">
        <time>035000</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 This server will restart in 10 minutes</cmd>
        <cmdtype>0</cmdtype>
    </job>
    <job id="7">
        <time>035500</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 minutes</cmd>
        <cmdtype>0</cmdtype>
    </job>
    <job id="8">
        <time>035900</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 This server will restart in 1 minute</cmd>
        <cmdtype>0</cmdtype>
    </job>
    <job id="9">
        <time>040000</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>#shutdown</cmd>
        <cmdtype>0</cmdtype>
    </job>
    <!-- End Restarts -->
</Scheduler>

 

Hey i try this before and it not work for me ! 

I have make it self 

 

Here take the mine and try if it works 

(works fine for me on my server)

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>	<!-- IMPORTANT: Visit www.ibattle.org for usage guides -->	<!-- Guide For Using Scheduler System: http://ibattle.org/install-and-configure/setting-up-the-scheduler/ -->		<!-- 2 Time Formats Can Be Used:		 00:00:00 - HH:MM:SS - Example, 02:30:00 would be 2:30am.  Messages using this format are sent based on the node's time.  It is recommend to set your ACP profile time to the same timezone as the node. 		 000000 - HHMMSS - Example, 003000 Is 30 Minutes From When Server Started	--><Scheduler>	<job id="0">		<time>000510</time>		<delay>000000</delay>		<day>1,2,3,4,5,6,7</day>		<loop>1</loop> 		<cmd>say -1 MESSAGE</cmd>			<cmdtype>0</cmdtype>			</job>		<job id="1">		<time>002200</time>		<delay>000000</delay>		<day>1,2,3,4,5,6,7</day>		<loop>1</loop> 		<cmd>say -1 MESSAGE</cmd>		<cmdtype>0</cmdtype>				</job>		<job id="2">		<time>002230</time>		<delay>000000</delay>		<day>1,2,3,4,5,6,7</day>		<loop>1</loop> 		<cmd>say -1 MESSAGE</cmd>			<cmdtype>0</cmdtype>			</job>	<job id="3">		<time>034700</time>		<delay>000000</delay>		<day>1,2,3,4,5,6,7</day>		<loop>0</loop> 		<cmd>say -1 *** AUTO RESTART IN 10 MIN ***</cmd>			<cmdtype>0</cmdtype>		</job>	<job id="4">		<time>035200</time>		<delay>000000</delay>		<day>1,2,3,4,5,6,7</day>		<loop>0</loop> 		<cmd>say -1 *** AUTO RESTART IN 5 MIN ***</cmd>		<cmdtype>0</cmdtype>	</job>	<job id="5">		<time>035600</time>		<delay>000000</delay>		<day>1,2,3,4,5,6,7</day>		<loop>0</loop> 		<cmd>say -1 *** AUTO RESTART IN 1 MIN ***</cmd>		<cmdtype>0</cmdtype>			</job>	</Scheduler>

Share this post


Link to post
Share on other sites

Thanks everyone, I found the issue. Characters "&" do not work and break the scheduler :rolleyes:

 

All sorted

Share this post


Link to post
Share on other sites

I seem to also be having trouble with my scheduler file. It worked with ,y first three messages but as soon as I added messages for the restart it stopped? I just can't seem to start a new thread?

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

×