Jump to content
jeje00857050@hotmail.fr

Problem with Scheduler

Recommended Posts

Hello !

 

I have a Vilayer server with BEC installed, I would like to send a message 10 and 5 minutes before a restart (every 4 hours), I do that with my Scheduler but nothing hapened in game, this is my Scheduler:

 

<Scheduler>


    <!-- show text ingame every 60 min -->
    <job id='0'>
        <time>006000</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>-1</loop>
        <cmd>say -1  Restart: 01:00, 05:00, 09:00, 13:00, 17:00 et 21:00</cmd>
    </job>
    
    <job id='1'>
        <time>004000</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>-1</loop>
        <cmd>say -1 Rejoignez nous sur notre forum ! http://team-frso.fr</cmd>
    </job>

    <!-- Reboot 01H -->
    <job id='2'>
        <day>1,2,3,4,5,6,7</day>
        <start>00:50:00</start>
        <runtime>000000</runtime>
        <loop>-1</loop>
        <cmd>say -1 Le serveur restart dans 10 minutes</cmd>
    </job>

    <!-- Reboot 01H -->
    <job id='3'>
        <day>1,2,3,4,5,6,7</day>
        <start>00:55:00</start>
        <runtime>000000</runtime>
        <loop>-1</loop>
        <cmd>say -1 Le serveur restart dans 5 minutes</cmd>
    </job>

    <!-- Reboot 05H -->
    <job id='4'>
        <day>1,2,3,4,5,6,7</day>
        <start>04:50:00</start>
        <runtime>000000</runtime>
        <loop>-1</loop>
        <cmd>say -1 Le serveur restart dans 10 minutes</cmd>
    </job>

    <!-- Reboot 05H -->
    <job id='5'>
        <day>1,2,3,4,5,6,7</day>
        <start>04:55:00</start>
        <runtime>000000</runtime>
        <loop>-1</loop>
        <cmd>say -1 Le serveur restart dans 5 minutes</cmd>
    </job>

    <!-- Reboot 09H -->
    <job id='6'>
        <day>1,2,3,4,5,6,7</day>
        <start>08:50:00</start>
        <runtime>000000</runtime>
        <loop>-1</loop>
        <cmd>say -1 Le serveur restart dans 10 minutes</cmd>
    </job>

    <!-- Reboot 09H -->
    <job id='7'>
        <day>1,2,3,4,5,6,7</day>
        <start>08:55:00</start>
        <runtime>000000</runtime>
        <loop>-1</loop>
        <cmd>say -1 Le serveur restart dans 5 minutes</cmd>
    </job>

    <!-- Reboot 13H -->
    <job id='8'>
        <day>1,2,3,4,5,6,7</day>
        <start>12:50:00</start>
        <runtime>000000</runtime>
        <loop>-1</loop>
        <cmd>say -1 Le serveur restart dans 10 minutes</cmd>
    </job>

    <!-- Reboot 13H -->
    <job id='9'>
        <day>1,2,3,4,5,6,7</day>
        <start>12:55:00</start>
        <runtime>000000</runtime>
        <loop>-1</loop>
        <cmd>say -1 Le serveur restart dans 5 minutes</cmd>
    </job>


    <!-- Reboot 17H -->
    <job id='10'>
        <day>1,2,3,4,5,6,7</day>
        <start>16:50:00</start>
        <runtime>000000</runtime>
        <loop>-1</loop>
        <cmd>say -1 Le serveur restart dans 10 minutes</cmd>
    </job>


    <!-- Reboot 17H -->
    <job id='11'>
        <day>1,2,3,4,5,6,7</day>
        <start>16:55:00</start>
        <runtime>000000</runtime>
        <loop>-1</loop>
        <cmd>say -1 Le serveur restart dans 5 minutes</cmd>
    </job>


    <!-- Reboot 21H -->
    <job id='12'>
        <day>1,2,3,4,5,6,7</day>
        <start>20:50:00</start>
        <runtime>000000</runtime>
        <loop>-1</loop>
        <cmd>say -1 Le serveur restart dans 10 minutes</cmd>
    </job>


    <!-- Reboot 21H -->
    <job id='13'>
        <day>1,2,3,4,5,6,7</day>
        <start>20:55:00</start>
        <runtime>000000</runtime>
        <loop>-1</loop>
        <cmd>say -1 Le serveur restart dans 5 minutes</cmd>
    </job>
    
</Scheduler>

 

 

Anyone can help me to solve the problem ? thanks a lot !

Share this post


Link to post
Share on other sites

You put "Start" as a command for the .XML - you need to use "time".

 

A typical one for a 4 AM restart would look like this:

 

<job id="1"><time>03:00:00</time><day>1,2,3,4,5,6,7</day><loop>0</loop><cmd>say -1 SERVER RESTART IN 1 HOUR</cmd> <cmdtype>0</cmdtype> </job> <job id="2"><time>03:30:00</time><day>1,2,3,4,5,6,7</day><loop>0</loop><cmd>say -1 SERVER RESTART IN 30 MINUTES</cmd> <cmdtype>0</cmdtype> </job> <job id="3"><time>03:50:00</time><day>1,2,3,4,5,6,7</day><loop>0</loop><cmd>say -1 SERVER RESTART IN 10 MINUTES</cmd> <cmdtype>0</cmdtype> </job> <job id="4"><time>03:55:00</time><day>1,2,3,4,5,6,7</day><loop>0</loop><cmd>say -1 SERVER RESTART IN 5 MINUTES</cmd> <cmdtype>0</cmdtype> </job> <job id="5"><time>03:59:00</time><day>1,2,3,4,5,6,7</day><loop>0</loop><cmd>say -1 SERVER RESTART IN 1 MINUTE LOGOFF NOW TO PREVENT DATA LOSS</cmd> <cmdtype>0</cmdtype> </job> <job id="6"><time>04:00:00</time><day>1,2,3,4,5,6,7</day><loop>0</loop><cmd>#shutdown</cmd> <cmdtype>0</cmdtype> </job>

 

 

 

To alter this for your use change the job-id's for each one to have unique job-id's and change the times accordingly.

Edited by kichilron
  • Like 1

Share this post


Link to post
Share on other sites

The message will be send every 3 hours (for the first) after a restart, my server restart at 01:00; 05:00; 09:00; 13;00; 17:00 and 21:00, but if I restart manualy my server for exemple, at 14:55 because he shoutdown, the message will be send 3 hours after my reboot, so 17:55 ?

Share this post


Link to post
Share on other sites

The message will be send every 3 hours (for the first) after a restart, my server restart at 01:00; 05:00; 09:00; 13;00; 17:00 and 21:00, but if I restart manualy my server for exemple, at 14:55 because he shoutdown, the message will be send 3 hours after my reboot, so 17:55 ?

 

Not if you do it the way I am suggesting.

Edited by kichilron

Share this post


Link to post
Share on other sites



 

<Scheduler>
    <!-- Repeating messages every 5 minutes -->
    <job id="3">
        <time>000500</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>1</loop>
        <cmd>say -1 This DayZ Standalone server is brought to you by [siC] www.superinfantryclan.com</cmd>
        <cmdtype>0</cmdtype>
    </job>
 
 
    <job id="4">
        <time>000700</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>1</loop>
        <cmd>say -1 This server restarts 05:00, 07:00, 09:00, 11:00, 13:00, 15:00, 17:00, 19:00, 21:00, 23:00, 01:00, 03:00 - 2 hour restart</cmd>
        <cmdtype>0</cmdtype>
    </job>
 
 
    <job id="5">
        <time>001000</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>1</loop>
        <cmd>say -1 Hackers/Cheaters or any other problem can be reported to [siC] Heroln/bChaos</cmd>
        <cmdtype>0</cmdtype>
    </job>
 
    <job id="6">
        <time>001500</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>1</loop>
        <cmd>say -1 Welcome to [siC] [super@Infantry.Clan] | www.superinfantryclan.com | Teamspeak: ts.superinfantryclan.com</cmd>
        <cmdtype>0</cmdtype>
    </job>
 
 
    <job id="7">
        <time>001700</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>1</loop>
        <cmd>say -1 Don't forget to add us to your favourites</cmd>
        <cmdtype>0</cmdtype>
    </job>
   
 
<job id="8">
        <time>001900</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>1</loop>
        <cmd>say -BEC Scanning For Illegale Player Files</cmd>
        <cmdtype>0</cmdtype>
    </job>
 
<job id="9">
        <time>025000</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>1</loop>
        <cmd>say -Persistence On (Testing Fase)</cmd>
        <cmdtype>0</cmdtype>
    </job>
 
 
 
 <!-- End repeat messages -->
 
<!-- 05:00 restart -->
    <job id="10">
        <time>04:55:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say - This server will restart in 5 minutes</cmd>
        <cmdtype>0</cmdtype>
    </job>
    <job id="11">
        <time>04:59:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say - This server will restart in 1 minute</cmd>
        <cmdtype>0</cmdtype>
    </job>
    
    <!-- End 05:00 restart -->
 
 
 <!-- 09:00 restart -->
    <job id="12">
        <time>08:55:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say - This server will restart in 5 minutes</cmd>
        <cmdtype>0</cmdtype>
    </job>
    <job id="13">
        <time>08:59:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say - This server will restart in 1 minute</cmd>
        <cmdtype>0</cmdtype>
    </job>
    
    <!-- End 09:00 restart -->
 
 
 <!-- 11:00 restart -->
    <job id="14">
        <time>10:55:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say - This server will restart in 5 minutes</cmd>
        <cmdtype>0</cmdtype>
    </job>
    <job id="15">
        <time>10:59:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say - This server will restart in 1 minute</cmd>
        <cmdtype>0</cmdtype>
    </job>
    
    <!-- End 11:00 restart -->
 
 
 <!-- 13:00 restart -->
    <job id="16">
        <time>12:55:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say - This server will restart in 5 minutes</cmd>
        <cmdtype>0</cmdtype>
    </job>
    <job id="17">
        <time>12:59:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say - This server will restart in 1 minute</cmd>
        <cmdtype>0</cmdtype>
    </job>
    
    <!-- End 13:00 restart -->
 
 
 <!-- 15:00 restart -->
    <job id="18">
        <time>14:55:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say - This server will restart in 5 minutes</cmd>
        <cmdtype>0</cmdtype>
    </job>
    <job id="19">
        <time>14:59:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say - This server will restart in 1 minute</cmd>
        <cmdtype>0</cmdtype>
    </job>
    
    <!-- End 15:00 restart -->
 
 
 <!-- 17:00 restart -->
    <job id="20">
        <time>16:55:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say - This server will restart in 5 minutes</cmd>
        <cmdtype>0</cmdtype>
    </job>
    <job id="21">
        <time>16:59:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say - This server will restart in 1 minute</cmd>
        <cmdtype>0</cmdtype>
    </job>
    
    <!-- End 17:00 restart -->
 
 
 <!-- 19:00 restart -->
    <job id="22">
        <time>18:55:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say - This server will restart in 5 minutes</cmd>
        <cmdtype>0</cmdtype>
    </job>
    <job id="23">
        <time>18:59:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say - This server will restart in 1 minute</cmd>
        <cmdtype>0</cmdtype>
    </job>
    
    <!-- End 19:00 restart -->
 
 
 <!-- 21:00 restart -->
    <job id="24">
        <time>20:55:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say - This server will restart in 5 minutes</cmd>
        <cmdtype>0</cmdtype>
    </job>
    <job id="25">
        <time>20:59:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say - This server will restart in 1 minute</cmd>
        <cmdtype>0</cmdtype>
    </job>
    
    <!-- End 21:00 restart -->
 
 
 <!-- 23:00 restart -->
    <job id="26">
        <time>22:55:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say - This server will restart in 5 minutes</cmd>
        <cmdtype>0</cmdtype>
    </job>
    <job id="27">
        <time>22:59:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say - This server will restart in 1 minute</cmd>
        <cmdtype>0</cmdtype>
    </job>
    
    <!-- End 23:00 restart -->
 
 
 <!-- 01:00 restart -->
    <job id="28">
        <time>00:55:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say - This server will restart in 5 minutes</cmd>
        <cmdtype>0</cmdtype>
    </job>
    <job id="29">
        <time>00:59:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say - This server will restart in 1 minute</cmd>
        <cmdtype>0</cmdtype>
    </job>
    
    <!-- End 01:00 restart -->
 
 
 <!-- 03:00 restart -->
    <job id="30">
        <time>02:55:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say - This server will restart in 5 minutes</cmd>
        <cmdtype>0</cmdtype>
    </job>
    <job id="31">
        <time>02:59:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say - This server will restart in 1 minute</cmd>
        <cmdtype>0</cmdtype>
    </job>
    
    <!-- End 03:00 restart -->
 
 
 <!-- 05:00 restart -->
    <job id="32">
        <time>04:55:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say - This server will restart in 5 minutes</cmd>
        <cmdtype>0</cmdtype>
    </job>
    <job id="33">
        <time>04:59:00</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say - This server will restart in 1 minute</cmd>
        <cmdtype>0</cmdtype>
    </job>
    
    <!-- End 05:00 restart -->
 
</Scheduler>
 
 
or
 
<job id="3">
        <start>000500</start> <!-- run every 5 mins -->
        <runtime>000400</runtime>
        <day>1,2,3,4,5,6,7</day>
        <loop>5</loop> 
        <cmd>say -1 This DayZ Standalone server is brought to you by [siC] www.superinfantryclan.com</cmd>    
        <cmdtype>0</cmdtype>            
    </job>
 
    <job id="4">
        <start>000300</start> <!-- run once after 3 min -->
        <runtime>000200</runtime>
        <day>1,2,3,4,5,6,7</day>
        <loop>5</loop> 
        <cmd>say -1 Bec has been now running for 3 min</cmd>    
        <cmdtype>0</cmdtype>            
    </job>
 
<job id="5">
        <start>001000</start> <!-- run every 10 min -->
        <runtime>000900</runtime>
        <day>1,2,3,4,5,6,7</day>
        <loop>5</loop> 
        <cmd>say -1 Theres some issues with server restart. go to forum or teamspeak and contact h3roin or bchaos for a restart.superinfantryclan.com http://www.superinfantryclan.com/ </cmd>    
        <cmdtype>0</cmdtype>            
    </job>
 
<job id="6">
        <start>001500</start> <!-- run every 15 min -->
        <runtime>001400</runtime>
        <day>1,2,3,4,5,6,7</day>
        <loop>5</loop> 
        <cmd>say -1 Don't forget to add us to your favourites</cmd>    
        <cmdtype>0</cmdtype>            
    </job>
 
<job id="7">
        <start>001800</start> <!-- run every 18 min -->
        <runtime>001700</runtime>
        <day>1,2,3,4,5,6,7</day>
        <loop>5</loop> 
        <cmd>say -1 BEC Scanning For Illegale Player Files</cmd>    
        <cmdtype>0</cmdtype>            
    </job>
 
<job id="8">
        <start>002000</start> <!-- run every 20 mins -->
        <runtime>001900</runtime>
        <day>1,2,3,4,5,6,7</day>
        <loop>1</loop> 
        <cmd>say -1 Welcome to [siC] [super@Infantry.Clan] | www.superinfantryclan.com | Teamspeak: ts.superinfantryclan.com</cmd>    
        <cmdtype>0</cmdtype>            
    </job>
 
<!-- 12:00 restart -->
    <job id="9">
        <start>11:55:00</start>
        <runtime>000000</runtime>
        <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="10">
        <start>11:59:00</start>
        <runtime>000000</runtime>
        <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="11">
        <start>12:00:00</start>
        <runtime>000000</runtime>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>#shutdown</cmd>
        <cmdtype>0</cmdtype>
    </job>
    <!-- End 12:00 restart -->
 
 
 <!-- 14:00 restart -->
    <job id="12">
        <start>13:55:00</start>
        <runtime>000000</runtime>
        <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="13">
        <start>13:59:00</start>
        <runtime>000000</runtime>
        <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="14">
        <start>14:00:00</start>
        <runtime>000000</runtime>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>#shutdown</cmd>
        <cmdtype>0</cmdtype>
    </job>
    <!-- End 14:00 restart -->
 
 
 <!-- 16:00 restart -->
    <job id="15">
        <start>15:55:00</start>
        <runtime>000000</runtime>
        <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="16">
        <start>15:59:00</start>
        <runtime>000000</runtime>
        <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="17">
        <start>16:00:00</start>
        <runtime>000000</runtime>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>#shutdown</cmd>
        <cmdtype>0</cmdtype>
    </job>
    <!-- End 16:00 restart -->
 
 
 <!-- 18:00 restart -->
    <job id="18">
        <start>17:55:00</start>
        <runtime>000000</runtime>
        <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="19">
        <start>17:59:00</start>
        <runtime>000000</runtime>
        <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="20">
        <start>18:00:00</start>
        <runtime>000000</runtime>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>#shutdown</cmd>
        <cmdtype>0</cmdtype>
    </job>
    <!-- End 18:00 restart -->
 
 
 <!-- 20:00 restart -->
    <job id="21">
        <start>19:55:00</start>
        <runtime>000000</runtime>
        <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="22">
        <start>19:59:00</start>
        <runtime>000000</runtime>
        <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="23">
        <start>20:00:00</start>
        <runtime>000000</runtime>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>#shutdown</cmd>
        <cmdtype>0</cmdtype>
    </job>
    <!-- End 20:00 restart -->
 
 
 <!-- 22:00 restart -->
    <job id="24">
        <start>21:55:00</start>
        <runtime>000000</runtime>
        <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="25">
        <start>21:59:00</start>
        <runtime>000000</runtime>
        <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="26">
        <start>21:00:00</start>
        <runtime>000000</runtime>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>#shutdown</cmd>
        <cmdtype>0</cmdtype>
    </job>
    <!-- End 22:00 restart -->
 
 
 <!-- 00:00 restart -->
    <job id="27">
        <start>23:55:00</start>
        <runtime>000000</runtime>
        <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="28">
        <start>23:59:00</start>
        <runtime>000000</runtime>
        <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="29">
        <start>00:00:00</start>
        <runtime>000000</runtime>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>#shutdown</cmd>
        <cmdtype>0</cmdtype>
    </job>
    <!-- End 00:00 restart -->
 
 
 <!-- 02:00 restart -->
    <job id="30">
        <start>01:55:00</start>
        <runtime>000000</runtime>
        <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="31">
        <start>01:59:00</start>
        <runtime>000000</runtime>
        <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="32">
        <start>02:00:00</start>
        <runtime>000000</runtime>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>#shutdown</cmd>
        <cmdtype>0</cmdtype>
    </job>
    <!-- End 02:00 restart -->
 
 
 <!-- 04:00 restart -->
    <job id="33">
        <start>03:55:00</start>
        <runtime>000000</runtime>
        <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="34">
        <start>03:59:00</start>
        <runtime>000000</runtime>
        <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="35">
        <start>04:00:00</start>
        <runtime>000000</runtime>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>#shutdown</cmd>
        <cmdtype>0</cmdtype>
    </job>
    <!-- End 04:00 restart -->
 
 
 <!-- 06:00 restart -->
    <job id="36">
        <start>05:55:00</start>
        <runtime>000000</runtime>
        <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="37">
        <start>05:59:00</start>
        <runtime>000000</runtime>
        <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="38">
        <start>06:00:00</start>
        <runtime>000000</runtime>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>#shutdown</cmd>
        <cmdtype>0</cmdtype>
    </job>
    <!-- End 06:00 restart -->
 
 
 <!-- 08:00 restart -->
    <job id="39">
        <start>07:55:00</start>
        <runtime>000000</runtime>
        <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="40">
        <start>07:59:00</start>
        <runtime>000000</runtime>
        <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="41">
        <start>08:00:00</start>
        <runtime>000000</runtime>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>#shutdown</cmd>
        <cmdtype>0</cmdtype>
    </job>
    <!-- End 08:00 restart -->
 
 
 <!-- 10:00 restart -->
    <job id="42">
        <start>09:55:00</start>
        <runtime>000000</runtime>
        <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="43">
        <start>09:59:00</start>
        <runtime>000000</runtime>
        <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="44">
        <start>10:00:00</start>
        <runtime>000000</runtime>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>#shutdown</cmd>
        <cmdtype>0</cmdtype>
    </job>
    <!-- End 10:00 restart -->
Edited by H3r0ln

Share this post


Link to post
Share on other sites

000500

000000

1,2,3,4,5,6,7

1

say -1 This DayZ Standalone server is brought to you by [siC] www.superinfantryclan.com

0

000700

000000

1,2,3,4,5,6,7

1

say -1 This server restarts 05:00, 07:00, 09:00, 11:00, 13:00, 15:00, 17:00, 19:00, 21:00, 23:00, 01:00, 03:00 - 2 hour restart

0

001000

000000

1,2,3,4,5,6,7

1

say -1 Hackers/Cheaters or any other problem can be reported to [siC] Heroln/bChaos

0

001500

000000

1,2,3,4,5,6,7

1

say -1 Welcome to [siC] [super@Infantry.Clan] | www.superinfantryclan.com | Teamspeak: ts.superinfantryclan.com

0

001700

000000

1,2,3,4,5,6,7

1

say -1 Don't forget to add us to your favourites

0

001900

000000

1,2,3,4,5,6,7

1

say -BEC Scanning For Illegale Player Files

0

025000

000000

1,2,3,4,5,6,7

1

say -Persistence On (Testing Fase)

0

04:55:00

000000

1,2,3,4,5,6,7

0

say - This server will restart in 5 minutes

0

04:59:00

000000

1,2,3,4,5,6,7

0

say - This server will restart in 1 minute

0

08:55:00

000000

1,2,3,4,5,6,7

0

say - This server will restart in 5 minutes

0

08:59:00

000000

1,2,3,4,5,6,7

0

say - This server will restart in 1 minute

0

10:55:00

000000

1,2,3,4,5,6,7

0

say - This server will restart in 5 minutes

0

10:59:00

000000

1,2,3,4,5,6,7

0

say - This server will restart in 1 minute

0

12:55:00

000000

1,2,3,4,5,6,7

0

say - This server will restart in 5 minutes

0

12:59:00

000000

1,2,3,4,5,6,7

0

say - This server will restart in 1 minute

0

14:55:00

000000

1,2,3,4,5,6,7

0

say - This server will restart in 5 minutes

0

14:59:00

000000

1,2,3,4,5,6,7

0

say - This server will restart in 1 minute

0

16:55:00

000000

1,2,3,4,5,6,7

0

say - This server will restart in 5 minutes

0

16:59:00

000000

1,2,3,4,5,6,7

0

say - This server will restart in 1 minute

0

18:55:00

000000

1,2,3,4,5,6,7

0

say - This server will restart in 5 minutes

0

18:59:00

000000

1,2,3,4,5,6,7

0

say - This server will restart in 1 minute

0

20:55:00

000000

1,2,3,4,5,6,7

0

say - This server will restart in 5 minutes

0

20:59:00

000000

1,2,3,4,5,6,7

0

say - This server will restart in 1 minute

0

22:55:00

000000

1,2,3,4,5,6,7

0

say - This server will restart in 5 minutes

0

22:59:00

000000

1,2,3,4,5,6,7

0

say - This server will restart in 1 minute

0

00:55:00

000000

1,2,3,4,5,6,7

0

say - This server will restart in 5 minutes

0

00:59:00

000000

1,2,3,4,5,6,7

0

say - This server will restart in 1 minute

0

02:55:00

000000

1,2,3,4,5,6,7

0

say - This server will restart in 5 minutes

0

02:59:00

000000

1,2,3,4,5,6,7

0

say - This server will restart in 1 minute

0

04:55:00

000000

1,2,3,4,5,6,7

0

say - This server will restart in 5 minutes

0

04:59:00

000000

1,2,3,4,5,6,7

0

say - This server will restart in 1 minute

0

*phase

Share this post


Link to post
Share on other sites

You put "Start" as a command for the .XML - you need to use "time".

 

A typical one for a 4 AM restart would look like this:

 

<job id="1"><time>03:00:00</time><day>1,2,3,4,5,6,7</day><loop>0</loop><cmd>say -1 SERVER RESTART IN 1 HOUR</cmd> <cmdtype>0</cmdtype> </job> <job id="2"><time>03:30:00</time><day>1,2,3,4,5,6,7</day><loop>0</loop><cmd>say -1 SERVER RESTART IN 30 MINUTES</cmd> <cmdtype>0</cmdtype> </job> <job id="3"><time>03:50:00</time><day>1,2,3,4,5,6,7</day><loop>0</loop><cmd>say -1 SERVER RESTART IN 10 MINUTES</cmd> <cmdtype>0</cmdtype> </job> <job id="4"><time>03:55:00</time><day>1,2,3,4,5,6,7</day><loop>0</loop><cmd>say -1 SERVER RESTART IN 5 MINUTES</cmd> <cmdtype>0</cmdtype> </job> <job id="5"><time>03:59:00</time><day>1,2,3,4,5,6,7</day><loop>0</loop><cmd>say -1 SERVER RESTART IN 1 MINUTE LOGOFF NOW TO PREVENT DATA LOSS</cmd> <cmdtype>0</cmdtype> </job> <job id="6"><time>04:00:00</time><day>1,2,3,4,5,6,7</day><loop>0</loop><cmd>#shutdown</cmd> <cmdtype>0</cmdtype> </job>

 

 

 

To alter this for your use change the job-id's for each one to have unique job-id's and change the times accordingly.

 

I tried this, my server restart every 4 hours (cause by #shutdown) at any time and not the 4 hours of Vilayer, so I deleted this job but no message was send.

 

I will try the Scheduler of  H3r0ln (just the part about restarts)

 

Thanks for the help !

Share this post


Link to post
Share on other sites

Hello All,

 

We are also hosted with Vilayer and for the life of me I cannot for the life of me get the scheduler to work. It was a very simple test just to see if i could get it to work.

 

<?xml version="1.0"?>

<Scheduler>
    <!== Show welcome greeting every 1 minute ==>
    <job id="0">
        <start>000400</start> <!-- run every 5 mins -->
        <runtime>000300</runtime>
        <day>1,2,3,4,5,6,7</day>
        <loop>1</loop>
        <cmd>say -1 Welcome to =rTr= Right to Rebel</cmd>
        <cmdtype>0</cmdtype>
    </job>

    <job id="1">
        <start>000500</start> <!-- run every 5 mins -->
        <runtime>000300</runtime>
        <day>1,2,3,4,5,6,7</day>
        <loop>1</loop>
        <cmd>say -1 Visit us at righttorebel.net</cmd>
        <cmdtype>0</cmdtype>
    </job>

</Scheduler>

 

Also, there is an "encoding" option above the code, what should that be set to? Right now, mine is set at "unicode" and i don't know if that's correct or not. I inherited the server from a prior admin so I'm not sure what the proper setting should be.

 

Thanks in advance for any help!!

Mindreaper

Share this post


Link to post
Share on other sites

 

 

Also, there is an "encoding" option above the code, what should that be set to? Right now, mine is set at "unicode" and i don't know if that's correct or not. I inherited the server from a prior admin so I'm not sure what the proper setting should be.

 

Thanks in advance for any help!!

Mindreaper

That prior admin must have been real incompetent, just send that script to your server host and they'll take a look at it and fix it. If that still dont work, welcome to the club.

  • Like 1

Share this post


Link to post
Share on other sites

Yep, welcome to the club......

 

Having issues with our BEC still as well. We can't seem to get it to restart on its own but I think this still has to do with issues in 0.49. I've used several different scripts written by others and still seeing restart issues.....

Share this post


Link to post
Share on other sites

Its like you have to schedule a restart just before the normal server restart so there might be a chance of it coming back online, but even then you can tell that this is just a plan created out of desperation, by a desperate man. Oh DayZ.

Share this post


Link to post
Share on other sites

Happy to say we're restarting every 2 hours and seeing less issues. We did lock up twice yesterday when we were at 40 players but over night we saw less than 40 and the server was running this morning with 6 players active. I used some of the stuff from above so much appreciated.

Share this post


Link to post
Share on other sites

You put "Start" as a command for the .XML - you need to use "time".

 

A typical one for a 4 AM restart would look like this:

 

<job id="1"><time>03:00:00</time><day>1,2,3,4,5,6,7</day><loop>0</loop><cmd>say -1 SERVER RESTART IN 1 HOUR</cmd> <cmdtype>0</cmdtype> </job> <job id="2"><time>03:30:00</time><day>1,2,3,4,5,6,7</day><loop>0</loop><cmd>say -1 SERVER RESTART IN 30 MINUTES</cmd> <cmdtype>0</cmdtype> </job> <job id="3"><time>03:50:00</time><day>1,2,3,4,5,6,7</day><loop>0</loop><cmd>say -1 SERVER RESTART IN 10 MINUTES</cmd> <cmdtype>0</cmdtype> </job> <job id="4"><time>03:55:00</time><day>1,2,3,4,5,6,7</day><loop>0</loop><cmd>say -1 SERVER RESTART IN 5 MINUTES</cmd> <cmdtype>0</cmdtype> </job> <job id="5"><time>03:59:00</time><day>1,2,3,4,5,6,7</day><loop>0</loop><cmd>say -1 SERVER RESTART IN 1 MINUTE LOGOFF NOW TO PREVENT DATA LOSS</cmd> <cmdtype>0</cmdtype> </job> <job id="6"><time>04:00:00</time><day>1,2,3,4,5,6,7</day><loop>0</loop><cmd>#shutdown</cmd> <cmdtype>0</cmdtype> </job>

 

 

 

To alter this for your use change the job-id's for each one to have unique job-id's and change the times accordingly.

 

 

This is different to the instructions given on the BEC guide: http://ibattle.org/install-and-configure/setting-up-the-scheduler/

 

I don't doubt you're right but is there somewhere we can get a decent guide for the BEC tools if the one on their website can't be used?

Edited by theirongiant74

Share this post


Link to post
Share on other sites

Hello All,

 

We are also hosted with Vilayer and for the life of me I cannot for the life of me get the scheduler to work. It was a very simple test just to see if i could get it to work.

 

<?xml version="1.0"?>

<Scheduler>

    <!== Show welcome greeting every 1 minute ==>

    <job id="0">

        <start>000400</start> <!-- run every 5 mins -->

        <runtime>000300</runtime>

        <day>1,2,3,4,5,6,7</day>

        <loop>1</loop>

        <cmd>say -1 Welcome to =rTr= Right to Rebel</cmd>

        <cmdtype>0</cmdtype>

    </job>

    <job id="1">

        <start>000500</start> <!-- run every 5 mins -->

        <runtime>000300</runtime>

        <day>1,2,3,4,5,6,7</day>

        <loop>1</loop>

        <cmd>say -1 Visit us at righttorebel.net</cmd>

        <cmdtype>0</cmdtype>

    </job>

</Scheduler>

 

Also, there is an "encoding" option above the code, what should that be set to? Right now, mine is set at "unicode" and i don't know if that's correct or not. I inherited the server from a prior admin so I'm not sure what the proper setting should be.

 

Thanks in advance for any help!!

Mindreaper

 

Should be: <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

 

Also, try changing: <!== Show welcome greeting every 1 minute ==> to <!-- Show welcome greeting every 1 minute --> 

Change all similar comments to the same.

Share this post


Link to post
Share on other sites

This is different to the instructions given on the BEC guide: http://ibattle.org/install-and-configure/setting-up-the-scheduler/

 

I don't doubt you're right but is there somewhere we can get a decent guide for the BEC tools if the one on their website can't be used?

 

There are different methods on how to achieve it and BEC is just a thirdparty-application that isn't official. The tutorial doesn't have to be complete.

 

Their method of achieving the restarts is really not what I would use, as it starts counting down from the restart, making it restart (for example) exactly 2 hours after the last restart. Hardly good scheduling, as the server can crash midway.

Share this post


Link to post
Share on other sites

There are different methods on how to achieve it and BEC is just a thirdparty-application that isn't official. The tutorial doesn't have to be complete.

Their method of achieving the restarts is really not what I would use, as it starts counting down from the restart, making it restart (for example) exactly 2 hours after the last restart. Hardly good scheduling, as the server can crash midway.

Cool, that makes sense, is there somewhere that I can find full documentation as the <time> and <cmdtype> options aren't mentioned anywhere on the ibattle.org site.

Cheers

Mark

Edited by theirongiant74

Share this post


Link to post
Share on other sites

There are different methods on how to achieve it and BEC is just a thirdparty-application that isn't official. The tutorial doesn't have to be complete.

 

Their method of achieving the restarts is really not what I would use, as it starts counting down from the restart, making it restart (for example) exactly 2 hours after the last restart. Hardly good scheduling, as the server can crash midway.

Could you explain what you mean with "isn´t official" ?

Share this post


Link to post
Share on other sites

Could you explain what you mean with "isn´t official" ?

 

Not developed by Bohemia.

Share this post


Link to post
Share on other sites

Not developed by Bohemia.

It´s still officially used by Bohemia.

Its a third party tool but that does not make it "unofficial" or am i wrong?

Share this post


Link to post
Share on other sites

    Here our sheduler we use for our Fragnet Servers.

We will test the times perimeters as described by kichilron. He is totally right that it might be better when there is a server crash.

 

 

 

<job id="3">
        <runtime>000030</runtime> <!-- run every 30 sec -->
        <start>000030</start>
        <day>1,2,3,4,5,6,7</day>
        <loop>60</loop>
        <cmd>say -1 Powered By DayZGameServer.com - PvP [1h restart]</cmd>    
        <cmdtype>0</cmdtype>            
    </job>

    <job id="4">
        <runtime>000300</runtime> <!-- run once after 3 min -->
        <start>000000</start>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>say -1 This Server restarted 3 minutes ago</cmd>    
        <cmdtype>0</cmdtype>            
    </job>

 <job id="5">
        <runtime>020000</runtime> <!-- run once after 1h -->
        <start>020000</start>
        <day>1,2,3,4,5,6,7</day>
        <loop>0</loop>
        <cmd>#shutdown</cmd>    
        <cmdtype>0</cmdtype>            
    </job>

Share this post


Link to post
Share on other sites

It´s still officially used by Bohemia.

Its a third party tool but that does not make it "unofficial" or am i wrong?

 

This doesn't make it an official Bohemia-Application.

Share this post


Link to post
Share on other sites

This doesn't make it an official Bohemia-Application.

noone said that that´s why i was so confused - thanks for clearing this up

 

hope they can work better together with BEC or even buy it

Share this post


Link to post
Share on other sites

Using <time> didn't work for me, changed to <start> which takes hh:mm:ss format as well as hhmmss format and it works great, server restarts on the hour mark with warnings.

 

For reference here my full schedule.xml in case it's of use to anyone else

 

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<Scheduler>
<!-- Midnight restart -->
 
<job id="0">
<day>1,2,3,4,5,6,7</day>
<start>23:50:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 Server restart in 10 minutes</cmd>
</job>
 
<job id="1">
<day>1,2,3,4,5,6,7</day>
<start>23:55:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 Server restart in 5 minutes</cmd>
</job>
 
<job id="2">
<day>1,2,3,4,5,6,7</day>
<start>23:59:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 Server restart in 60 seconds</cmd>
</job>
 
<job id="3">
<day>1,2,3,4,5,6,7</day>
<start>00:00:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>#shutdown</cmd>
</job>
 
 
<!-- 4 a.m. restart -->
 
<job id="4">
<day>1,2,3,4,5,6,7</day>
<start>03:50:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 Server restart in 10 minutes</cmd>
</job>
 
<job id="5">
<day>1,2,3,4,5,6,7</day>
<start>03:55:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 Server restart in 5 minutes</cmd>
</job>
 
<job id="6">
<day>1,2,3,4,5,6,7</day>
<start>03:59:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 Server restart in 60 seconds</cmd>
</job>
 
<job id="7">
<day>1,2,3,4,5,6,7</day>
<start>04:00:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>#shutdown</cmd>
</job>
 
 
<!-- 8 a.m. restart -->
 
<job id="8">
<day>1,2,3,4,5,6,7</day>
<start>07:50:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 Server restart in 10 minutes</cmd>
</job>
 
<job id="9">
<day>1,2,3,4,5,6,7</day>
<start>07:55:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 Server restart in 5 minutes</cmd>
</job>
 
<job id="10">
<day>1,2,3,4,5,6,7</day>
<start>07:59:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 Server restart in 60 seconds</cmd>
</job>
 
<job id="11">
<day>1,2,3,4,5,6,7</day>
<start>08:00:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>#shutdown</cmd>
</job>
 
 
<!-- 12 p.m. restart -->
 
<job id="12">
<day>1,2,3,4,5,6,7</day>
<start>11:50:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 Server restart in 10 minutes</cmd>
</job>
 
<job id="13">
<day>1,2,3,4,5,6,7</day>
<start>11:55:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 Server restart in 5 minutes</cmd>
</job>
 
<job id="14">
<day>1,2,3,4,5,6,7</day>
<start>11:59:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 Server restart in 60 seconds</cmd>
</job>
 
<job id="15">
<day>1,2,3,4,5,6,7</day>
<start>12:00:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>#shutdown</cmd>
</job>
 
 
<!-- 4 p.m. restart -->
 
<job id="16">
<day>1,2,3,4,5,6,7</day>
<start>15:50:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 Server restart in 10 minutes</cmd>
</job>
 
<job id="17">
<day>1,2,3,4,5,6,7</day>
<start>15:55:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 Server restart in 5 minutes</cmd>
</job>
 
<job id="18">
<day>1,2,3,4,5,6,7</day>
<start>15:59:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 Server restart in 60 seconds</cmd>
</job>
 
<job id="19">
<day>1,2,3,4,5,6,7</day>
<start>16:00:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>#shutdown</cmd>
</job>
 
 
<!-- 8 p.m. restart -->
 
<job id="20">
<day>1,2,3,4,5,6,7</day>
<start>19:50:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 Server restart in 10 minutes</cmd>
</job>
 
<job id="21">
<day>1,2,3,4,5,6,7</day>
<start>19:55:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 Server restart in 5 minutes</cmd>
</job>
 
<job id="22">
<day>1,2,3,4,5,6,7</day>
<start>19:59:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 Server restart in 60 seconds</cmd>
</job>
 
<job id="23">
<day>1,2,3,4,5,6,7</day>
<start>20:00:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>#shutdown</cmd>
</job>
 
 
 
<!-- Repeated Messages -->
 
<job id="24">
<day>1,2,3,4,5,6,7</day>
<start>000500</start>
<runtime>010000</runtime>
<loop>-1</loop>
<cmd>say -1 Both ZombieSkelper.com servers share the same hive - make sure to favourite both</cmd>
</job>
 
<job id="25">
<day>1,2,3,4,5,6,7</day>
<start>000530</start>
<runtime>010000</runtime>
<loop>-1</loop>
<cmd>say -1 Server restarts every 4 hours with warnings - 12am, 4am, 8am, 12pm, 4pm and 8pm</cmd>
</job>
 
<job id="26">
<day>1,2,3,4,5,6,7</day>
<start>000600</start>
<runtime>010000</runtime>
<loop>-1</loop>
<cmd>say -1 Please report any issues on ZombieSkelper.com or on Twitter @Zombie_Skelper</cmd>
</job>
 
<job id="27">
<day>1,2,3,4,5,6,7</day>
<start>000630</start>
<runtime>010000</runtime>
<loop>-1</loop>
<cmd>say -1 If you suspect a hacker on the server take a screenshot of the playerlist and the time and post it on the forum</cmd>
</job>
 
</Scheduler>
Edited by theirongiant74

Share this post


Link to post
Share on other sites

Using <time> didn't work for me, changed to <start> which takes hh:mm:ss format as well as hhmmss format and it works great, server restarts on the hour mark with warnings.

 

For reference here my full schedule.xml in case it's of use to anyone else

 

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<Scheduler>
<!-- Midnight restart -->
 
<job id="0">
<day>1,2,3,4,5,6,7</day>
<start>23:50:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 Server restart in 10 minutes</cmd>
</job>
 
<job id="1">
<day>1,2,3,4,5,6,7</day>
<start>23:55:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 Server restart in 5 minutes</cmd>
</job>
 
<job id="2">
<day>1,2,3,4,5,6,7</day>
<start>23:59:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 Server restart in 60 seconds</cmd>
</job>
 
<job id="3">
<day>1,2,3,4,5,6,7</day>
<start>00:00:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>#shutdown</cmd>
</job>
 
 
<!-- 4 a.m. restart -->
 
<job id="4">
<day>1,2,3,4,5,6,7</day>
<start>03:50:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 Server restart in 10 minutes</cmd>
</job>
 
<job id="5">
<day>1,2,3,4,5,6,7</day>
<start>03:55:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 Server restart in 5 minutes</cmd>
</job>
 
<job id="6">
<day>1,2,3,4,5,6,7</day>
<start>03:59:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 Server restart in 60 seconds</cmd>
</job>
 
<job id="7">
<day>1,2,3,4,5,6,7</day>
<start>04:00:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>#shutdown</cmd>
</job>
 
 
<!-- 8 a.m. restart -->
 
<job id="8">
<day>1,2,3,4,5,6,7</day>
<start>07:50:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 Server restart in 10 minutes</cmd>
</job>
 
<job id="9">
<day>1,2,3,4,5,6,7</day>
<start>07:55:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 Server restart in 5 minutes</cmd>
</job>
 
<job id="10">
<day>1,2,3,4,5,6,7</day>
<start>07:59:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 Server restart in 60 seconds</cmd>
</job>
 
<job id="11">
<day>1,2,3,4,5,6,7</day>
<start>08:00:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>#shutdown</cmd>
</job>
 
 
<!-- 12 p.m. restart -->
 
<job id="12">
<day>1,2,3,4,5,6,7</day>
<start>11:50:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 Server restart in 10 minutes</cmd>
</job>
 
<job id="13">
<day>1,2,3,4,5,6,7</day>
<start>11:55:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 Server restart in 5 minutes</cmd>
</job>
 
<job id="14">
<day>1,2,3,4,5,6,7</day>
<start>11:59:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 Server restart in 60 seconds</cmd>
</job>
 
<job id="15">
<day>1,2,3,4,5,6,7</day>
<start>12:00:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>#shutdown</cmd>
</job>
 
 
<!-- 4 p.m. restart -->
 
<job id="16">
<day>1,2,3,4,5,6,7</day>
<start>15:50:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 Server restart in 10 minutes</cmd>
</job>
 
<job id="17">
<day>1,2,3,4,5,6,7</day>
<start>15:55:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 Server restart in 5 minutes</cmd>
</job>
 
<job id="18">
<day>1,2,3,4,5,6,7</day>
<start>15:59:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 Server restart in 60 seconds</cmd>
</job>
 
<job id="19">
<day>1,2,3,4,5,6,7</day>
<start>16:00:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>#shutdown</cmd>
</job>
 
 
<!-- 8 p.m. restart -->
 
<job id="20">
<day>1,2,3,4,5,6,7</day>
<start>19:50:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 Server restart in 10 minutes</cmd>
</job>
 
<job id="21">
<day>1,2,3,4,5,6,7</day>
<start>19:55:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 Server restart in 5 minutes</cmd>
</job>
 
<job id="22">
<day>1,2,3,4,5,6,7</day>
<start>19:59:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>say -1 Server restart in 60 seconds</cmd>
</job>
 
<job id="23">
<day>1,2,3,4,5,6,7</day>
<start>20:00:00</start>
<runtime>000000</runtime>
<loop>0</loop>
<cmd>#shutdown</cmd>
</job>
 
 
 
<!-- Repeated Messages -->
 
<job id="24">
<day>1,2,3,4,5,6,7</day>
<start>000500</start>
<runtime>010000</runtime>
<loop>-1</loop>
<cmd>say -1 Both ZombieSkelper.com servers share the same hive - make sure to favourite both</cmd>
</job>
 
<job id="25">
<day>1,2,3,4,5,6,7</day>
<start>000530</start>
<runtime>010000</runtime>
<loop>-1</loop>
<cmd>say -1 Server restarts every 4 hours with warnings - 12am, 4am, 8am, 12pm, 4pm and 8pm</cmd>
</job>
 
<job id="26">
<day>1,2,3,4,5,6,7</day>
<start>000600</start>
<runtime>010000</runtime>
<loop>-1</loop>
<cmd>say -1 Please report any issues on ZombieSkelper.com or on Twitter @Zombie_Skelper</cmd>
</job>
 
<job id="27">
<day>1,2,3,4,5,6,7</day>
<start>000630</start>
<runtime>010000</runtime>
<loop>-1</loop>
<cmd>say -1 If you suspect a hacker on the server take a screenshot of the playerlist and the time and post it on the forum</cmd>
</job>
 
</Scheduler>

Thanks for sharing giant!

We also think about using times like that - this will help alot.

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

×