Jump to content
  • 0

Scheduler debug help please


epochfail

Question

this is my scheduler its not showing my restart messages. im hosting with hfb
 
<?xml version="1.0"?>
<Scheduler>

<!-- Restart (Every 3 hours) -->

<job id="0">
<time>023000</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Server will restart in 30 minutes</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="1">
<time>025000</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Server will restart 10 minutes</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="2"
<time>025500</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Server will restart 5 minutes</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="3">
<time>025900</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Server will restart 1 minute</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="4">
<time>003000</time>
<delay>000010</delay>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 No racist or derogatory sexual language</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="5">
<time>003100</time>
<delay>000010</delay>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 No base destruction or base vehicle destruction</cmd>
<cmdtype>0</cmdtype>
</job>
 
<job id="6">
<time>003200</time>
<delay>000010</delay>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Line Spacer</cmd>
<cmdtype>0</cmdtype>
</job>
 
<job id="7">
<time>003300</time>
<delay>000010</delay>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Line Spacer</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="8">
<time>003400</time>
<delay>000010</delay>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Join our teamspeak server at zombieholocaust.myclanserver.com</cmd>
<cmdtype>0</cmdtype>
</job>
</Scheduler>
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

How could we do the batch file as i am having the same issue

something like this is the scheduler

 

<!-- 04:00 restart -->
<job id="25">
<time>04:00:00</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop> 
<cmd>C:\DayZ\@dayzcc_config\11\restart11.bat</cmd>
<cmdtype>1</cmdtype>
</job>
 
just make any batch file to test it
Link to comment
Share on other sites

  • 0

i sent in a ticket and they said

"please make sure you are using delay based timers that are going to count based on how long the server has been up. This is needed due to the way restarts function for official servers with the system time changing regularly."

 

can anyone show me an example of a delay based timer?

 

Got the answer now, since hfb restarts not with the scheduler it is time based i had to change my times to this format

 

<time>18:00:30</time>
This means that the schedule should be run when the time is 6'o Clock and 30 sec , PM time on the server.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...