Jump to content
Sign in to follow this  
xtrem3x

Help with scheduler.xml getting restarts and server messages working.

Recommended Posts

One thing I need to add.

 

If a server is set to 3am, 7am, 11am and 3pm, 7pm, 11pm est the server will sometimes send out messages 1 hour ahead of time.

so the settings are 23.50 to correct the 11pm message.

 

where on earth would that happen in vilayers setup. It maybe the same for others. Could this be a Mtn time zone setting somewhere else?

Share this post


Link to post
Share on other sites

Hi all!

 

Need some help with the scheduler, cant get it to work

<?xml version="1.0"?><Scheduler>        <!-- READ http://ibattle.org/install-and-configure/setting-up-the-scheduler/ -->    <job id="0">        <runtime>040000</runtime> <!-- run every 4 hours with a 5 minutes delay on startup -->        <start>040000</start>        <day>1,2,3,4,5,6,7</day>        <loop>1</loop>         <cmd>#shutdown</cmd>           <cmdtype>0</cmdtype>                </job>        <job id="1">        <runtime>040000</runtime> <!-- run every 4 hours with a  mins delay on startup -->        <start>035900</start>        <day>1,2,3,4,5,6,7</day>         <loop>1</loop>         <cmd>say -1 Gameaholic.se will Auto restart in 1 min</cmd>            <cmdtype>0</cmdtype>                </job>        <job id="2">        <runtime>040000</runtime> <!-- run every 4 hours -->        <start>035500</start>        <day>1,2,3,4,5,6,7</day>         <loop>1</loop>         <cmd>say -1 Gameaholic.se will Auto restart in 5 mins</cmd>            <cmdtype>0</cmdtype>                 </job>    <job id="3">        <time>001000</time> <!-- run every 10 mins -->        <delay>000000</delay>        <day>1,2,3,4,5,6,7</day>        <loop>1</loop>         <cmd>say -1 Powered By Gameaholic.se</cmd>            <cmdtype>0</cmdtype>                </job>    <job id="4">        <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 Gameaholic.se has been now running for 3 min</cmd>            <cmdtype>0</cmdtype>                </job></Scheduler>

Share this post


Link to post
Share on other sites

You need this;

<loop>-1</loop>

for an infinite repeating command. Using "1" will only run it twice.

Edited by Sinnaman

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  

×