BEC restart Scheduler

smackem

New Member
Hi. im having trouble with my bec restart scheduler and i cant get it to work and it looks like this

<Scheduler>
<!-- *** TEXTNACHRICHTEN WIEDERHOLEND *** -->
<!-- Textnachricht alle 10 Minuten -->
<job id="0">
<time>001000</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server hosted by nitrado.net</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="1">
<time>054500</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server will be restarting in 15 minutes.</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="2">
<time>055500</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server will be restarting in 5 minutes. Land you aircrafts and log out.</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="3">
<time>055900</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server restart in 1 minute. This is your last warning! Please vacate the area!</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="4">
<time>060000</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>#Shutdown</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="5">
<time>114500</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server will be restarting in 15 minutes.</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="6">
<time>115500</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server will be restarting in 5 minutes. Land you aircrafts and log out.</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="7">
<time>11:900</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server restart in 1 minute. This is your last warning! Please vacate the area!</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="8">
<time>120000</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>#shutdown</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="9">
<time>174500</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server will be restarting in 15 minute.</cmd>
<cmdtype>0</cmdtype>
</job>

</job id="10">
<time>175500</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server will be restarting in 5 minute. Land you aircrafts and log out.</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="11">
<time>175900</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server restart in 1 minute. This is your last warning! Please vacate!</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="12">
<time>180000</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>#shutdown</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="13">
<time>234500</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server will be restarting in 15 minute.</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="14">
<time>2355:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server will be restarting in 5 minute. Land you aircrafts and log out.</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="15">
<time>235900</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server restart in 1 minute. This is your last warning! Please vacate the area!</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="16">
<time>000000</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>#shutdown</cmd>
<cmdtype>0</cmdtype>
</job>

</Scheduler>
 
First of all...... <time></time> can be typed like this: 000000 or this 00:00:00 the first on is a "countdown" and the second is time of day, as i can se you have typed: 235900 on job 15, make it 23:59:00 to follow the computer time. if you type it like this: 235900 then it will do this action 23hours and 59 min after bec is started... and #Shutdown is not a restart, it only shuts down the server. You need a .batc file for that. I myself use a home devloped restart software (not made by me but my friend) when we got it working perfectly we will share it. Much easyer and better restart. But here there is a tutorial for setting it up with a .batch file: http://opendayz.net/threads/server-launch-bat-file-and-restart-system-tutorial.11006/
 
the mistake is in this:
<job id="7">
<time>11:900</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server restart in 1 minute. This is your last warning! Please vacate the area!</cmd>
<cmdtype>0</cmdtype>
</job>

look at <time>11:900</time>

it should be <time>115900</time>

<job id="14">
<time>2355:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server will be restarting in 5 minute. Land you aircrafts and log out.</cmd>
<cmdtype>0</cmdtype>
</job>

look at <time>2355:00</time>

it should be <time>235500</time>
 
ok so look here, shutdown at job 16 is at 000000, dont you think he wants to restart at midnight when the warning is at 235900 ? so its obvios that he want it to say : 00:00:00 and 23:59:00,,, if not,, then there is a warning 23 hours and 59 minutes after bec starts that says it will restart in 1min, and after 1min nothing happens..... Please just read over it before comment wrong information to this fellah ;)
 
ok you have won o_O i have the sheduler with setting up to servertimes like <time>23:55:00</time> and so. I dont use the countdown time. I use a batchfile to restart the server and works perfectly. That you postet the link to the batchfile. :)
 
Hi. im having trouble with my bec restart scheduler and i cant get it to work and it looks like this

<Scheduler>
<!-- *** TEXTNACHRICHTEN WIEDERHOLEND *** -->
<!-- Textnachricht alle 10 Minuten -->
<job id="0">
<time>001000</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server hosted by nitrado.net</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="1">
<time>054500</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server will be restarting in 15 minutes.</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="2">
<time>055500</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server will be restarting in 5 minutes. Land you aircrafts and log out.</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="3">
<time>055900</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server restart in 1 minute. This is your last warning! Please vacate the area!</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="4">
<time>060000</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>#Shutdown</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="5">
<time>114500</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server will be restarting in 15 minutes.</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="6">
<time>115500</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server will be restarting in 5 minutes. Land you aircrafts and log out.</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="7">
<time>11:900</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server restart in 1 minute. This is your last warning! Please vacate the area!</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="8">
<time>120000</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>#shutdown</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="9">
<time>174500</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server will be restarting in 15 minute.</cmd>
<cmdtype>0</cmdtype>
</job>

</job id="10">
<time>175500</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server will be restarting in 5 minute. Land you aircrafts and log out.</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="11">
<time>175900</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server restart in 1 minute. This is your last warning! Please vacate!</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="12">
<time>180000</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>#shutdown</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="13">
<time>234500</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server will be restarting in 15 minute.</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="14">
<time>2355:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server will be restarting in 5 minute. Land you aircrafts and log out.</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="15">
<time>235900</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server restart in 1 minute. This is your last warning! Please vacate the area!</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="16">
<time>000000</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>#shutdown</cmd>
<cmdtype>0</cmdtype>
</job>

</Scheduler>

<Scheduler>
<!-- *** TEXTNACHRICHTEN WIEDERHOLEND *** -->
<!-- Textnachricht alle 10 Minuten -->
<job id="0">
<time>001000</time> //<--- I let this stay at is because then this will come up every 10min, change it to what ever you want.
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server hosted by nitrado.net</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="1">
<time>05:45:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server will be restarting in 15 minutes.</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="2">
<time>05:55:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server will be restarting in 5 minutes. Land you aircrafts and log out.</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="3">
<time>05:59:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server restart in 1 minute. This is your last warning! Please vacate the area!</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="4">
<time>06:00:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>#Shutdown</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="5">
<time>11:45:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server will be restarting in 15 minutes.</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="6">
<time>11:55:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server will be restarting in 5 minutes. Land you aircrafts and log out.</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="7">
<time>11:59:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server restart in 1 minute. This is your last warning! Please vacate the area!</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="8">
<time>12:00:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>#shutdown</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="9">
<time>17:45:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server will be restarting in 15 minute.</cmd>
<cmdtype>0</cmdtype>
</job>

</job id="10">
<time>17:55:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server will be restarting in 5 minute. Land you aircrafts and log out.</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="11">
<time>17:59:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server restart in 1 minute. This is your last warning! Please vacate!</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="12">
<time>18:00:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>#shutdown</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="13">
<time>23:45:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server will be restarting in 15 minute.</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="14">
<time>23:55:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server will be restarting in 5 minute. Land you aircrafts and log out.</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="15">
<time>23:59:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say Server restart in 1 minute. This is your last warning! Please vacate the area!</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="16">
<time>00:00:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>restart.bat or location to file etc: C:\Windows\addins\restart.bat </cmd> // <--- This is just an example, change it
<cmdtype>1</cmdtype> //<--- Changed this to 1 because you want to run a batch as illustrated in the cmd above.
</job>

</Scheduler>




Try that one and READ the info i typed at job 16 and do it to all restarts
 
but ID4, 8, 12 should be the same as ID16 in the line:
<cmd>restart.bat or location to file etc: C:\Windows\addins\restart.bat </cmd> // <--- This is just an example, change it
<cmdtype>1</cmdtype> //<--- Changed this to 1 because you want to run a batch as illustrated in the cmd above.

or im thinking wrong ?

ok sorry i dont saw the info at the end of your thread. :confused:
 
No its should be the same, as i typed at the bottom of my comment : Try that one and READ the info i typed at job 16 and do it to all restarts
 
Back
Top