I'm using BEC with a restart scheduler to restart my server every 4 hours but sometimes it will restart it at 30 minutes, 4 hours(like it should), but currently my server has been up for over 5 hours and it has yet to restart it. I'm trying to get this all setup so my server has a day/night cycle. I wouldn't mind even getting a 6 hour scheduler for 4 hour days 2 hour nights. But I can't even get this current one to work right. I copied it from someone else off another post so I'm not sure how they work or how to set one up properly myself. Can anyone point me in the right direction or maybe try to fix mine? I have the tutorial on how to set one up but I'm not good at those kind of things.
Here is my scheduler.xml
Here is my scheduler.xml
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<Scheduler>
<!-- *** RESTARTS *** -->
<!-- 5 min to the 8:00 restart -->
<job id="0">
<time>07:55:00</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>say -1 AUTO SERVER RESTART IN 5 MINUTES</cmd>
<cmdtype>0</cmdtype>
</job>
<job id="1">
<time>07:57:00</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>say -1 AUTO SERVER RESTART IN 3 MINUTES</cmd>
<cmdtype>0</cmdtype>
</job>
<job id="2">
<time>07:59:00</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>say -1 AUTO SERVER RESTART IN 1 MINUTE - LOG OUT NOW OR YOU MAY LOSE YOUR GEAR</cmd>
<cmdtype>0</cmdtype>
</job>
<job id="3">
<time>07:59:30</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>say -1 AUTO SERVER RESTART IN 30 SECONDS - LOG OUT NOW OR YOU MAY LOSE YOUR GEAR</cmd>
<cmdtype>0</cmdtype>
</job>
<!-- 08:00 restart -->
<job id="4">
<time>08:00:00</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>#shutdown</cmd>
<cmdtype>0</cmdtype>
</job>
<!-- *** RESTARTS *** -->
<!-- 5 min to the 12:00 restart -->
<job id="5">
<time>11:55:00</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>say -1 AUTO SERVER RESTART IN 5 MINUTES</cmd>
<cmdtype>0</cmdtype>
</job>
<job id="6">
<time>11:57:00</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>say -1 AUTO SERVER RESTART IN 3 MINUTES</cmd>
<cmdtype>0</cmdtype>
</job>
<job id="7">
<time>11:59:00</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>say -1 AUTO SERVER RESTART IN 1 MINUTE - LOG OUT NOW OR YOU MAY LOSE YOUR GEAR</cmd>
<cmdtype>0</cmdtype>
</job>
<job id="8">
<time>11:59:30</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>say -1 AUTO SERVER RESTART IN 30 SECONDS - LOG OUT NOW OR YOU MAY LOSE YOUR GEAR</cmd>
<cmdtype>0</cmdtype>
</job>
<!-- 12:00 restart -->
<job id="9">
<time>12:00:00</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>#shutdown</cmd>
<cmdtype>0</cmdtype>
</job>
<!-- *** RESTARTS *** -->
<!-- 5 min to the 16:00 restart -->
<job id="10">
<time>15:55:00</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>say -1 AUTO SERVER RESTART IN 5 MINUTES</cmd>
<cmdtype>0</cmdtype>
</job>
<job id="11">
<time>15:57:00</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>say -1 AUTO SERVER RESTART IN 3 MINUTES</cmd>
<cmdtype>0</cmdtype>
</job>
<job id="12">
<time>15:59:00</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>say -1 AUTO SERVER RESTART IN 1 MINUTE - LOG OUT NOW OR YOU MAY LOSE YOUR GEAR</cmd>
<cmdtype>0</cmdtype>
</job>
<job id="13">
<time>15:59:30</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>say -1 AUTO SERVER RESTART IN 30 SECONDS - LOG OUT NOW OR YOU MAY LOSE YOUR GEAR</cmd>
<cmdtype>0</cmdtype>
</job>
<!-- 16:00 restart -->
<job id="14">
<time>16:00:00</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>#shutdown</cmd>
<cmdtype>0</cmdtype>
</job>
<!-- *** RESTARTS *** -->
<!-- 5 min to the 19:00 restart -->
<job id="15">
<time>18:55:00</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>say -1 AUTO SERVER RESTART IN 5 MINUTES</cmd>
<cmdtype>0</cmdtype>
</job>
<job id="16">
<time>18:57:00</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>say -1 AUTO SERVER RESTART IN 3 MINUTES</cmd>
<cmdtype>0</cmdtype>
</job>
<job id="17">
<time>18:59:00</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>say -1 AUTO SERVER RESTART IN 1 MINUTE - LOG OUT NOW OR YOU MAY LOSE YOUR GEAR</cmd>
<cmdtype>0</cmdtype>
</job>
<job id="18">
<time>18:59:30</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>say -1 AUTO SERVER RESTART IN 30 SECONDS - LOG OUT NOW OR YOU MAY LOSE YOUR GEAR</cmd>
<cmdtype>0</cmdtype>
</job>
<!-- 19:00 restart -->
<job id="19">
<time>19:00:00</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>#shutdown</cmd>
<cmdtype>0</cmdtype>
</job>
<!-- *** RESTARTS *** -->
<!-- 5 min to the 22:00 restart -->
<job id="20">
<time>21:55:00</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>say -1 AUTO SERVER RESTART IN 5 MINUTES</cmd>
<cmdtype>0</cmdtype>
</job>
<job id="21">
<time>21:57:00</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>say -1 AUTO SERVER RESTART IN 3 MINUTES</cmd>
<cmdtype>0</cmdtype>
</job>
<job id="22">
<time>21:59:00</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>say -1 AUTO SERVER RESTART IN 1 MINUTE - LOG OUT NOW OR YOU MAY LOSE YOUR GEAR</cmd>
<cmdtype>0</cmdtype>
</job>
<job id="23">
<time>21:59:30</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>say -1 AUTO SERVER RESTART IN 30 SECONDS - LOG OUT NOW OR YOU MAY LOSE YOUR GEAR</cmd>
<cmdtype>0</cmdtype>
</job>
<!-- 22:00 restart -->
<job id="24">
<time>22:00:00</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>#shutdown</cmd>
<cmdtype>0</cmdtype>
</job>
<!-- *** RESTARTS *** -->
<!-- 5 min to the 04:00 restart -->
<job id="25">
<time>03:55:00</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>say -1 AUTO SERVER RESTART IN 5 MINUTES</cmd>
<cmdtype>0</cmdtype>
</job>
<job id="26">
<time>03:57:00</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>say -1 AUTO SERVER RESTART IN 3 MINUTES</cmd>
<cmdtype>0</cmdtype>
</job>
<job id="27">
<time>03:59:00</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>say -1 AUTO SERVER RESTART IN 1 MINUTE - LOG OUT NOW OR YOU MAY LOSE YOUR GEAR</cmd>
<cmdtype>0</cmdtype>
</job>
<job id="28">
<time>03:59:30</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>say -1 AUTO SERVER RESTART IN 30 SECONDS - LOG OUT NOW OR YOU MAY LOSE YOUR GEAR</cmd>
<cmdtype>0</cmdtype>
</job>
<!-- 04:00 restart -->
<job id="29">
<time>04:00:00</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>#shutdown</cmd>
<cmdtype>0</cmdtype>
</job>
</Scheduler>