Jump to content

BullRaider

Recommended Posts

 This is my Scheduler.xml, I want to use only for Automatic messages.
But for some unknown reason to me, I can not make it work, just to start the server, no message appears.
Can anyone tell me if there's something wrong with him?
Or if you have to activate it in some other file?

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<?xml-stylesheet href="acs.xsl" type="text/xsl" ?>


<Scheduler>

    <job id='0'>
        <day>1,2,3,4,5,6,7</day>
        <start>000200</start>
        <runtime>000000</runtime>
        <loop>0</loop>
        <cmd>say -1 Bem Vindo ao KBJ Epoch Brasil. \o/</cmd>
    </job>
    <job id='1'>
        <day>1,2,3,4,5,6,7</day>
        <start>000300</start>
        <runtime>001500</runtime>
        <loop>-1</loop>
        <cmd>say -1 Facebook: https://www.facebook.com/KBJServers | Teamspeak3:  198.27.111.250:10124</cmd>
    </job>    
    <job id='2'>
        <day>1,2,3,4,5,6,7</day>
        <start>000310</start>
        <runtime>001500</runtime>
        <loop>-1</loop>
        <cmd>say -1 O Servidor Reinicia a cada 3 horas! Fique atento na barra de status. </cmd>
    </job>    
    <job id='3'>
        <day>1,2,3,4,5,6,7</day>
        <start>025000</start>
        <runtime>000000</runtime>
        <loop>0</loop>
        <cmd>say -1 O Servidor vai Reiniciar em 10 minutos! (Saia para nao perder loot)</cmd>
    </job>    
    <job id='4'>
        <day>1,2,3,4,5,6,7</day>
        <start>025500</start>
        <runtime>000000</runtime>
        <loop>0</loop>
        <cmd>say -1 O Servidor vai Reiniciar em 5 minutos! (Saia para nao perder loot)</cmd>
    </job>    
    <job id='5'>
        <day>1,2,3,4,5,6,7</day>
        <start>025900</start>
        <runtime>000000</runtime>
        <loop>0</loop>
        <cmd>say -1 Reiniciando o Servidor em 1 minuto!</cmd>
    </job>        
</Scheduler>
Link to comment
Share on other sites

Why don't you go read the other zillion posts and solutions, and grab a template posted there to work from?

 

We *really* need moar of these posts !

 

http://epochmod.com/forum/index.php?/topic/29166-tool-to-restart-the-server-and-bec-after-shutdown/?view=findpost&p=174331&hl=scheduler

I already did that ... Mine was made from a teamplate, my doubts would be greater if I have or not to activate it in another file !!!

Link to comment
Share on other sites

One I overlooked and actually might be a facepalm moment :)

 

yours : <job id='0'>

 

Mine : <job id="0">

 

You see the difference?

 

You can often identify the line with the error in the error logs which are located in BEC\Log\Config\Error. Looking this over one thing that sticks out is the \o in the line below.

 

<cmd>say -1 Bem Vindo ao KBJ Epoch Brasil. \o/</cmd>

 

Good luck!

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<?xml-stylesheet href="acs.xsl" type="text/xsl" ?>


<Scheduler>

    <job id="0">
        <day>1,2,3,4,5,6,7</day>
        <start>000200</start>
        <runtime>000000</runtime>
        <loop>0</loop>
        <cmd>say -1 Bem Vindo ao KBJ Overpoch Brasil</cmd>
    </job>
    <job id="1">
        <day>1,2,3,4,5,6,7</day>
        <start>000300</start>
        <runtime>001500</runtime>
        <loop>-1</loop>
        <cmd>say -1 Facebook: www.facebook.com/KBJServers | Teamspeak3:  198.27.111.250:10124</cmd>
    </job>    
    <job id="2">
        <day>1,2,3,4,5,6,7</day>
        <start>000310</start>
        <runtime>001500</runtime>
        <loop>-1</loop>
        <cmd>say -1 O Servidor Reinicia a cada 3 horas! Fique atento na barra de status. </cmd>
    </job>    
    <job id="3">
        <day>1,2,3,4,5,6,7</day>
        <start>025000</start>
        <runtime>000000</runtime>
        <loop>0</loop>
        <cmd>say -1 O Servidor vai Reiniciar em 10 minutos! Saia para nao perder loot</cmd>
    </job>    
    <job id="4">
        <day>1,2,3,4,5,6,7</day>
        <start>025500</start>
        <runtime>000000</runtime>
        <loop>0</loop>
        <cmd>say -1 O Servidor vai Reiniciar em 5 minutos! Saia para nao perder loot</cmd>
    </job>    
    <job id="5">
        <day>1,2,3,4,5,6,7</day>
        <start>025900</start>
        <runtime>000000</runtime>
        <loop>0</loop>
        <cmd>say -1 Reiniciando o Servidor em 1 minuto!</cmd>
    </job>        
</Scheduler>

still not work :(

Link to comment
Share on other sites

<Scheduler>

	<!-- Schedular to be shown all days in the week. -->
	<!-- show text ingame every 10 min -->
	<job id="0">
		<runtime>001000</runtime>
		<start>000000</start>
		<day>1,2,3,4,5,6,7</day>
		<loop>-1</loop> 
		<cmd>say -1 Welcome to UUK's Epoch server. </cmd>	
		<cmdtype>0</cmdtype>
	</job>
	
		<!-- show text ingame every 11 min -->
	<job id="1">
		<runtime>002100</runtime>
		<start>000000</start>
		<day>1,2,3,4,5,6,7</day>
		<loop>-1</loop> 
		<cmd>say -1 Join us on teamspeak! 94.23.12.22:9987 If you have any problems seek an Admin</cmd>	
		<cmdtype>0</cmdtype>
	</job>
	
	<!-- show text ingame every 45 min -->
	<job id="2">
		<runtime>004500</runtime>
		<start>000000</start>
		<day>1,2,3,4,5,6,7</day>
		<loop>-1</loop> 
		<cmd>say -1 Server Will Restart at these times 00:00 4:00, 8:00, 12:00, 16:00, 20:00 GMT.</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="3">
		<runtime>002200</runtime>
		<start>000000</start>
		<day>1,2,3,4,5,6,7</day>
		<loop>-1</loop> 
		<cmd>say -1 AI Missions will spawn at random times</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	
	<!-- *** RESTARTS *** -->
	<!-- 10 min to the 04:00 restart -->
	<job id="4">
		<start>03:50:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 10 minutes! </cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="5">
		<start>03:55:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 5 minutes!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="6">
		<start>03:58:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 2 minutes!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="7">
		<start>03:59:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 1 minutes!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="8">
		<start>03:59:30</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Log out now! 30 seconds till Restart</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	<!-- 04:00 restart -->
	<job id="9">
		<start>04:00:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>C:\a3server\Restart1.bat</cmd>
		<cmdtype>1</cmdtype>			
	</job>
    <!-- 10 min to the 08:00 restart -->
	<job id="10">
		<start>07:50:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 10 minutes!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="11">
		<start>07:55:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 5 minutes!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="12">
		<start>07:58:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 2 minutes!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="13">
		<start>07:59:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 1 minutes!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	
	<job id="14">
		<start>07:59:30</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Log out now! 30 seconds till Restart</cmd>
		<cmdtype>0</cmdtype>			
	
	</job>
    <!-- 08:00 restart -->
	<job id="15">
		<start>08:00:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>C:\a3server\Restart1.bat</cmd>
		<cmdtype>1</cmdtype>
        </job>
    <!-- 10 min to the 12:00 restart -->
	<job id="16">
		<start>11:50:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 10 minutes!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="17">
		<start>11:55:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 5 minutes!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="18">
		<start>11:58:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 2 minutes!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="19">
		<start>11:59:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 1 minutes!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="20">
		<start>11:59:30</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Log out now! 30 seconds till Restart</cmd>
		<cmdtype>0</cmdtype>			
	
	</job>
    <!-- 12:00 restart -->
	<job id="21">
		<start>12:00:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>C:\a3server\Restart1.bat</cmd>
		<cmdtype>1</cmdtype>
                  
        </job>
    <!-- 10 min to the 16:00 restart -->
	<job id="22">
		<start>15:50:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 10 minutes!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="23">
		<start>15:55:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 5 minutes!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="24">
		<start>15:58:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 2 minutes!</cmd>
		<cmdtype>0</cmdtype>
	</job>
	
	<job id="25">
		<start>15:59:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 1 minute!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="26">
		<start>15:59:30</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Log out now! 30 seconds till Restart</cmd>
		<cmdtype>0</cmdtype>			
	
	</job>
    <!-- 16:00 restart -->
	<job id="27">
		<start>16:00:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>C:\a3server\Restart1.bat</cmd>
		<cmdtype>1</cmdtype>
                  
        </job>
    <!-- 10 min to the 20:00 restart -->
	<job id="28">
		<start>19:50:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 10 minutes!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="29">
		<start>19:55:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 5 minutes!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="30">
		<start>19:58:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 2 minutes!</cmd>
		<cmdtype>0</cmdtype>
	</job>
	
	<job id="31">
		<start>19:59:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 1 minute!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="32">
		<start>19:59:30</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Log out now! 30 seconds till Restart</cmd>
		<cmdtype>0</cmdtype>			
	
	</job>
    <!-- 20:00 restart -->
	<job id="33">
		<start>20:00:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>C:\a3server\Restart1.bat</cmd>
		<cmdtype>1</cmdtype>
                  
        </job>
    <!-- 10 min to the 00:00 restart -->
	<job id="34">
		<start>23:50:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 10 minutes!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="35">
		<start>23:55:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 5 minutes!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="36">
		<start>23:58:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 2 minutes!</cmd>
		<cmdtype>0</cmdtype>
		
	</job>
	
	<job id="37">
		<start>23:59:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 1 minute!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="38">
		<start>23:59:30</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Log out now! 30 seconds till Restart</cmd>
		<cmdtype>0</cmdtype>			
	
	</job>
    <!-- 12:00 restart -->
	<job id="39">
		<start>00:00:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>C:\a3server\Restart1.bat</cmd>
		<cmdtype>1</cmdtype>
                  
        </job>
	
	<job id="40">
		<runtime>001500</runtime>
		<start>000000</start>
		<day>1,2,3,4,5,6,7</day>
		<loop>-1</loop> 
		<cmd>say -1 Be sure to find a Radio as there maybe some chatter about Missions!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
</Scheduler>

 

Works fine on my servers :)

 

3rd time of posting this and it also works on other peoples whos used it 

Link to comment
Share on other sites

<Scheduler>

	<!-- Schedular to be shown all days in the week. -->
	<!-- show text ingame every 10 min -->
	<job id="0">
		<runtime>001000</runtime>
		<start>000000</start>
		<day>1,2,3,4,5,6,7</day>
		<loop>-1</loop> 
		<cmd>say -1 Welcome to UUK's Epoch server. </cmd>	
		<cmdtype>0</cmdtype>
	</job>
	
		<!-- show text ingame every 11 min -->
	<job id="1">
		<runtime>002100</runtime>
		<start>000000</start>
		<day>1,2,3,4,5,6,7</day>
		<loop>-1</loop> 
		<cmd>say -1 Join us on teamspeak! 94.23.12.22:9987 If you have any problems seek an Admin</cmd>	
		<cmdtype>0</cmdtype>
	</job>
	
	<!-- show text ingame every 45 min -->
	<job id="2">
		<runtime>004500</runtime>
		<start>000000</start>
		<day>1,2,3,4,5,6,7</day>
		<loop>-1</loop> 
		<cmd>say -1 Server Will Restart at these times 00:00 4:00, 8:00, 12:00, 16:00, 20:00 GMT.</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="3">
		<runtime>002200</runtime>
		<start>000000</start>
		<day>1,2,3,4,5,6,7</day>
		<loop>-1</loop> 
		<cmd>say -1 AI Missions will spawn at random times</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	
	<!-- *** RESTARTS *** -->
	<!-- 10 min to the 04:00 restart -->
	<job id="4">
		<start>03:50:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 10 minutes! </cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="5">
		<start>03:55:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 5 minutes!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="6">
		<start>03:58:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 2 minutes!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="7">
		<start>03:59:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 1 minutes!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="8">
		<start>03:59:30</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Log out now! 30 seconds till Restart</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	<!-- 04:00 restart -->
	<job id="9">
		<start>04:00:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>C:\a3server\Restart1.bat</cmd>
		<cmdtype>1</cmdtype>			
	</job>
    <!-- 10 min to the 08:00 restart -->
	<job id="10">
		<start>07:50:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 10 minutes!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="11">
		<start>07:55:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 5 minutes!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="12">
		<start>07:58:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 2 minutes!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="13">
		<start>07:59:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 1 minutes!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	
	<job id="14">
		<start>07:59:30</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Log out now! 30 seconds till Restart</cmd>
		<cmdtype>0</cmdtype>			
	
	</job>
    <!-- 08:00 restart -->
	<job id="15">
		<start>08:00:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>C:\a3server\Restart1.bat</cmd>
		<cmdtype>1</cmdtype>
        </job>
    <!-- 10 min to the 12:00 restart -->
	<job id="16">
		<start>11:50:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 10 minutes!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="17">
		<start>11:55:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 5 minutes!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="18">
		<start>11:58:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 2 minutes!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="19">
		<start>11:59:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 1 minutes!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="20">
		<start>11:59:30</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Log out now! 30 seconds till Restart</cmd>
		<cmdtype>0</cmdtype>			
	
	</job>
    <!-- 12:00 restart -->
	<job id="21">
		<start>12:00:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>C:\a3server\Restart1.bat</cmd>
		<cmdtype>1</cmdtype>
                  
        </job>
    <!-- 10 min to the 16:00 restart -->
	<job id="22">
		<start>15:50:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 10 minutes!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="23">
		<start>15:55:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 5 minutes!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="24">
		<start>15:58:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 2 minutes!</cmd>
		<cmdtype>0</cmdtype>
	</job>
	
	<job id="25">
		<start>15:59:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 1 minute!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="26">
		<start>15:59:30</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Log out now! 30 seconds till Restart</cmd>
		<cmdtype>0</cmdtype>			
	
	</job>
    <!-- 16:00 restart -->
	<job id="27">
		<start>16:00:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>C:\a3server\Restart1.bat</cmd>
		<cmdtype>1</cmdtype>
                  
        </job>
    <!-- 10 min to the 20:00 restart -->
	<job id="28">
		<start>19:50:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 10 minutes!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="29">
		<start>19:55:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 5 minutes!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="30">
		<start>19:58:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 2 minutes!</cmd>
		<cmdtype>0</cmdtype>
	</job>
	
	<job id="31">
		<start>19:59:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 1 minute!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="32">
		<start>19:59:30</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Log out now! 30 seconds till Restart</cmd>
		<cmdtype>0</cmdtype>			
	
	</job>
    <!-- 20:00 restart -->
	<job id="33">
		<start>20:00:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>C:\a3server\Restart1.bat</cmd>
		<cmdtype>1</cmdtype>
                  
        </job>
    <!-- 10 min to the 00:00 restart -->
	<job id="34">
		<start>23:50:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 10 minutes!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="35">
		<start>23:55:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 5 minutes!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="36">
		<start>23:58:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 2 minutes!</cmd>
		<cmdtype>0</cmdtype>
		
	</job>
	
	<job id="37">
		<start>23:59:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Server will Auto Restart in 1 minute!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
	<job id="38">
		<start>23:59:30</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 Log out now! 30 seconds till Restart</cmd>
		<cmdtype>0</cmdtype>			
	
	</job>
    <!-- 12:00 restart -->
	<job id="39">
		<start>00:00:00</start>
		<runtime>000000</runtime>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>C:\a3server\Restart1.bat</cmd>
		<cmdtype>1</cmdtype>
                  
        </job>
	
	<job id="40">
		<runtime>001500</runtime>
		<start>000000</start>
		<day>1,2,3,4,5,6,7</day>
		<loop>-1</loop> 
		<cmd>say -1 Be sure to find a Radio as there maybe some chatter about Missions!</cmd>
		<cmdtype>0</cmdtype>			
	</job>
	
</Scheduler>

 

Works fine on my servers :)

 

3rd time of posting this and it also works on other peoples whos used it 

u can send me the Restart1.bat ?

Link to comment
Share on other sites

@echo off
:: Modify your folders etc!
set armapath="C:\armaserver"
set armaparams=" -mod=@Epoch;@EpochHive;@allinarmaterrainpack; -config=SC\config.cfg  -port=2302 -autoInit -loadMissionToMemory -profiles=SC -cfg=SC\basic.cfg -name=SC  -malloc=system
set becpath="C:\armaserver"
set serverexe=arma3server.exe
 
 
echo.
echo KILL servers
cd /d %armapath%
taskkill /im %serverexe%
echo.
echo Kill Bec.exe
cd /d %becpath%
taskkill /im bec1.exe
timeout 2
 
echo.
echo Restarting
:: start the servers..
cd /d %armapath%
start "arma3" "arma3server.exe"  -mod=@Epoch;@EpochHive;@allinarmaterrainpack; -config=SC\config.cfg  -port=2302 -autoInit -loadMissionToMemory -profiles=SC -cfg=SC\basic.cfg -name=SC  -malloc=system
 
echo.
echo Starting Bec
timeout 5
:: start bec
cd /d %becpath%
start "" bec1.exe -f Config.cfg
 
echo.
echo Server Started
 
cls
@exit
Link to comment
Share on other sites

 

@echo off
:: Modify your folders etc!
set armapath="C:\armaserver"
set armaparams=" -mod=@Epoch;@EpochHive;@allinarmaterrainpack; -config=SC\config.cfg  -port=2302 -autoInit -loadMissionToMemory -profiles=SC -cfg=SC\basic.cfg -name=SC  -malloc=system
set becpath="C:\armaserver"
set serverexe=arma3server.exe
 
 
echo.
echo KILL servers
cd /d %armapath%
taskkill /im %serverexe%
echo.
echo Kill Bec.exe
cd /d %becpath%
taskkill /im bec1.exe
timeout 2
 
echo.
echo Restarting
:: start the servers..
cd /d %armapath%
start "arma3" "arma3server.exe"  -mod=@Epoch;@EpochHive;@allinarmaterrainpack; -config=SC\config.cfg  -port=2302 -autoInit -loadMissionToMemory -profiles=SC -cfg=SC\basic.cfg -name=SC  -malloc=system
 
echo.
echo Starting Bec
timeout 5
:: start bec
cd /d %becpath%
start "" bec1.exe -f Config.cfg
 
echo.
echo Server Started
 
cls
@exit

 

I cant use his method because vilayer.com not allow me to add files.bat on the FTP server directory. :(

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...