niall straughan
Well-Known Member
Im been trying to add automated messages for my 4 hour restarts, E.G server will restart in one minute. Im using a server hosted by GTX gaming, but has a similar file system to HFB servers.
My restarts are set for 10 o clock, to occur daily, every 4 hours, for 99 hours. So they run infinitely. But ive messed round with my txt files, and cant seem to get them right.
This is my Scheduler.xml
This is my restart15minwarning.xml
Im pretty sure ive botched both of them, can anyone help me out to get regular messages?
thanks
My restarts are set for 10 o clock, to occur daily, every 4 hours, for 99 hours. So they run infinitely. But ive messed round with my txt files, and cant seem to get them right.
This is my Scheduler.xml
Code:
<job id="0">
<time>033000</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>say -1 Server will auto restart in 30 min</cmd>
<cmdtype>0</cmdtype>
</job>
<job id="1">
<time>034500</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>say -1 Server will auto restart in 15 min</cmd>
<cmdtype>0</cmdtype>
</job>
<job id="2">
<time>035000</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>say -1 Server will auto restart in 10 min</cmd>
<cmdtype>0</cmdtype>
</job>
<job id="3">
<time>035500</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>say -1 Server will auto restart in 5 min</cmd>
<cmdtype>0</cmdtype>
</job>
<job id="4">
<time>035800</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>say -1 Server will auto restart in 1 min, land your choppers and abort now please</cmd>
<cmdtype>0</cmdtype>
</job>
<job id="5">
<time>035900</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>#shutdown</cmd>
<cmdtype>0</cmdtype>
</job>
This is my restart15minwarning.xml
Code:
<job id="0">
<time>033000</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>say -1 Server will auto restart in 30 min</cmd>
<cmdtype>0</cmdtype>
</job>
<job id="1">
<time>034500</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>say -1 Server will auto restart in 15 min</cmd>
<cmdtype>0</cmdtype>
</job>
<job id="2">
<time>035000</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>say -1 Server will auto restart in 10 min</cmd>
<cmdtype>0</cmdtype>
</job>
<job id="3">
<time>035500</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>say -1 Server will auto restart in 5 min</cmd>
<cmdtype>0</cmdtype>
</job>
<job id="4">
<time>035800</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>say -1 Server will auto restart in 1 min, land your choppers and abort now please</cmd>
<cmdtype>0</cmdtype>
</job>
<job id="5">
<time>035900</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>0</loop>
<cmd>#shutdown</cmd>
<cmdtype>0</cmdtype>
</job>
Im pretty sure ive botched both of them, can anyone help me out to get regular messages?
thanks