Jump to content
Sign in to follow this  
JellyFisheh

Scheduler Restarts not working.

Recommended Posts

So essentially I am trying to get my scheduler.xml file to restart my server every 4 hours but it does not seem to be working. Here is the file:

<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<Scheduler>
<job id='0'>
<day>1,2,3,4,5,6,7</day>
<start>006000</start>
<runtime>006000</runtime>
<loop>1</loop>
<cmd>say -1 [CTU] Crimean Escalation | Chernarus 2021 | Antistasi++</cmd>
<cmdtype>0</cmdtype>
</job>
 
<job id='1'>
<day>1,2,3,4,5,6,7</day>
<start>001000</start>
<runtime>001000</runtime>
<loop>1</loop>
<cmd>say -1 Server Restarts EVERY 4 Hours at 04:00,08:00,12:00,16:00,20:00,00:00 GMT</cmd>
<cmdtype>0</cmdtype>	
</job>
 
<!-- 04:00 AM restart -->
<job id='2'>
<day>1,2,3,4,5,6,7</day>
<start>03:45:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 15 minutes</cmd>
</job>
 
<job id='3'>
<day>1,2,3,4,5,6,7</day>
<start>03:55:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 5 minute, log out now to prevent item loss!</cmd>
</job>
 
<job id='4'>
<day>1,2,3,4,5,6,7</day>
<start>03:59:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 1 minute, Log out now!</cmd>
</job>
 
<job id='5'>
<day>1,2,3,4,5,6,7</day>
<start>03:59:55</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>#shutdown</cmd>
</job>
<!-- End 04:00 AM restart -->
 
<!-- 08:00 AM restart -->
<job id='6'>
<day>1,2,3,4,5,6,7</day>
<start>07:45:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 15 minutes</cmd>
</job>
 
<job id='7'>
<day>1,2,3,4,5,6,7</day>
<start>07:55:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 5 minute, log out now to prevent item loss!</cmd>
</job>
 
<job id='8'>
<day>1,2,3,4,5,6,7</day>
<start>07:59:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 1 minute, Log out now!</cmd>
</job>
 
<job id='9'>
<day>1,2,3,4,5,6,7</day>
<start>07:59:55</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>#shutdown</cmd>
</job>
<!-- End 08:00 AM restart -->
 
<!-- 12:00 PM restart -->
<job id='10'>
<day>1,2,3,4,5,6,7</day>
<start>11:45:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 15 minutes</cmd>
</job>
 
<job id='11'>
<day>1,2,3,4,5,6,7</day>
<start>11:55:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 5 minute, log out now to prevent item loss!</cmd>
</job>
 
<job id='12'>
<day>1,2,3,4,5,6,7</day>
<start>11:59:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 1 minute, Log out now!</cmd>
</job>
 
<job id='13'>
<day>1,2,3,4,5,6,7</day>
<start>11:59:55</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>#shutdown</cmd>
</job>
<!-- End 12:00 PM restart -->
 
<!-- 04:00 PM restart -->
<job id='14'>
<day>1,2,3,4,5,6,7</day>
<start>15:45:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 15 minutes</cmd>
</job>
 
<job id='15'>
<day>1,2,3,4,5,6,7</day>
<start>15:55:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 5 minute, log out now to prevent item loss!</cmd>
</job>
 
<job id='16'>
<day>1,2,3,4,5,6,7</day>
<start>15:59:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 1 minute, Log out now!</cmd>
</job>
 
<job id='17'>
<day>1,2,3,4,5,6,7</day>
<start>15:59:55</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>#shutdown</cmd>
</job>
<!-- End 04:00 PM restart -->
 
<!-- 08:00 PM restart -->
<job id='18'>
<day>1,2,3,4,5,6,7</day>
<start>19:45:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 15 minutes</cmd>
</job>
 
<job id='19'>
<day>1,2,3,4,5,6,7</day>
<start>19:55:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 5 minute, log out now to prevent item loss!</cmd>
</job>
 
<job id='20'>
<day>1,2,3,4,5,6,7</day>
<start>19:59:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 1 minute, Log out now!</cmd>
</job>
 
<job id='21'>
<day>1,2,3,4,5,6,7</day>
<start>19:59:55</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>#shutdown</cmd>
</job>
<!-- End 08:00 PM restart -->
 
<!-- 00:00 PM restart -->
<job id='22'>
<day>1,2,3,4,5,6,7</day>
<start>23:45:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 15 minutes</cmd>
</job>
 
<job id='23'>
<day>1,2,3,4,5,6,7</day>
<start>23:55:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 5 minute, log out now to prevent item loss!</cmd>
</job>
 
<job id='24'>
<day>1,2,3,4,5,6,7</day>
<start>23:59:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 This server will restart in 1 minute, Log out now!</cmd>
</job>
 
<job id='25'>
<day>1,2,3,4,5,6,7</day>
<start>23:59:55</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>#shutdown</cmd>
</job>
<!-- End 00:00 PM restart -->
 

 
</Scheduler>

 

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  

×