Scheduler.xml not working

derpyhooves

New Member
I'm having this issue with my scheduler not working...
Here's my scheduler.
Code:
<?xml version="1.0"?>
<Scheduler>
   
    <!-- INTERNAL COMMANDS -->
    <job id="0">
        <time>02:50:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 Server will Auto restart in 10 min</cmd>   
        <cmdtype>0</cmdtype>           
    </job>
   
    <job id="1">
        <time>02:55:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 Server will Auto restart in 5 min. It is advised you log out now to ensure your gear is saved, failing to do so might cause loss of inventory/buildings/vehicles and will not be replaced by an admin!</cmd>   
        <cmdtype>0</cmdtype>           
    </job>
   
    <job id="2">
        <time>03:00:00</time>
        <day>1,2,3,4,5,6,7</day>
        <loop>1</loop>
        <cmd>#shutdown</cmd>
        <cmdtype>0</cmdtype>
    </job>

    <job id="3">
        <time>05:50:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 Server will Auto restart in 10 min</cmd>   
        <cmdtype>0</cmdtype>           
    </job>
   
    <job id="4">
        <time>05:55:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 Server will Auto restart in 5 min. It is advised you log out now to ensure your gear is saved, failing to do so might cause loss of inventory/buildings/vehicles and will not be replaced by an admin!</cmd>   
        <cmdtype>0</cmdtype>           
    </job>

    <job id="5">
        <time>06:00:00</time>
        <day>1,2,3,4,5,6,7</day>
        <loop>1</loop>
        <cmd>#shutdown</cmd>
        <cmdtype>0</cmdtype>
    </job>   
   
    <job id="6">
        <time>08:50:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 Server will Auto restart in 10 min</cmd>   
        <cmdtype>0</cmdtype>           
    </job>
   
    <job id="7">
        <time>08:55:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 Server will Auto restart in 5 min. It is advised you log out now to ensure your gear is saved, failing to do so might cause loss of inventory/buildings/vehicles and will not be replaced by an admin!</cmd>   
        <cmdtype>0</cmdtype>           
    </job>    
     <job id="8">
        <time>09:00:00</time>
        <day>1,2,3,4,5,6,7</day>
        <loop>1</loop>
        <cmd>#shutdown</cmd>
        <cmdtype>0</cmdtype>
    </job>   
   
     <job id="9">
        <time>11:50:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 Server will Auto restart in 10 min</cmd>   
        <cmdtype>0</cmdtype>           
    </job>
   
    <job id="10">
        <time>11:55:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 Server will Auto restart in 5 min. It is advised you log out now to ensure your gear is saved, failing to do so might cause loss of inventory/buildings/vehicles and will not be replaced by an admin!</cmd>   
        <cmdtype>0</cmdtype>           
    </job>     

    <job id="11">
        <time>12:00:00</time>
        <day>1,2,3,4,5,6,7</day>
        <loop>1</loop>
        <cmd>#shutdown</cmd>
        <cmdtype>0</cmdtype>
    </job>       

     <job id="12">
        <time>14:50:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 Server will Auto restart in 10 min</cmd>   
        <cmdtype>0</cmdtype>           
    </job>
   
    <job id="13">
        <time>14:55:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 Server will Auto restart in 5 min. It is advised you log out now to ensure your gear is saved, failing to do so might cause loss of inventory/buildings/vehicles and will not be replaced by an admin!</cmd>   
        <cmdtype>0</cmdtype>           
    </job>
   
    <job id="14">
        <time>15:00:00</time>
        <day>1,2,3,4,5,6,7</day>
        <loop>1</loop>
        <cmd>#shutdown</cmd>
        <cmdtype>0</cmdtype>
    </job>   
   
      <job id="15">
        <time>17:50:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 Server will Auto restart in 10 min</cmd>   
        <cmdtype>0</cmdtype>           
    </job>
   
    <job id="16">
        <time>17:55:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 Server will Auto restart in 5 min. It is advised you log out now to ensure your gear is saved, failing to do so might cause loss of inventory/buildings/vehicles and will not be replaced by an admin!</cmd>   
        <cmdtype>0</cmdtype>           
    </job>
   
    <job id="17">
        <time>18:00:00</time>
        <day>1,2,3,4,5,6,7</day>
        <loop>1</loop>
        <cmd>#shutdown</cmd>
        <cmdtype>0</cmdtype>
    </job>   
   
     <job id="18">
        <time>20:50:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 Server will Auto restart in 10 min</cmd>   
        <cmdtype>0</cmdtype>           
    </job>
   
    <job id="19">
        <time>20:55:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 Server will Auto restart in 5 min. It is advised you log out now to ensure your gear is saved, failing to do so might cause loss of inventory/buildings/vehicles and will not be replaced by an admin!</cmd>   
        <cmdtype>0</cmdtype>           
    </job>
   
    <job id="20">
        <time>21:00:00</time>
        <day>1,2,3,4,5,6,7</day>
        <loop>1</loop>
        <cmd>#shutdown</cmd>
        <cmdtype>0</cmdtype>
    </job>   
   
     <job id="21">
        <time>23:50:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 Server will Auto restart in 10 min</cmd>   
        <cmdtype>0</cmdtype>           
    </job>
   
    <job id="22">
        <time>23:55:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 Server will Auto restart in 5 min. It is advised you log out now to ensure your gear is saved, failing to do so might cause loss of inventory/buildings/vehicles and will not be replaced by an admin!</cmd>   
        <cmdtype>0</cmdtype>           
    </job>
   
    <job id="23">
        <time>00:00:00</time>
        <day>1,2,3,4,5,6,7</day>
        <loop>1</loop>
        <cmd>#shutdown</cmd>
        <cmdtype>0</cmdtype>
    </job>   
   
</Scheduler>
 
remove the colons between the times. that is supposed to be for static times (yours is set for 3am) and instead use a single set of restarts using the uptime. I don't think they work, but if you insist on using static times, remove the seconds
<time>03:00</time> see if that works.

<time>040000</time> is 4 hours after server starts. So your server will restart every 4 hours. This way you don't need a set of warnings and #shutdown for each time. And if you restart your server manually for an update or something, it will wait the 4 hours to restart. All those 22 jobs can be handled by 4 (3 warnings and 1 #shutdown).
 
Back
Top