I know there are plenty more of these but please take a look at this as I dont know what the problem may be. The problem doesn't seem to be the @Startup.bat as it runs perfectly fine when I run it. I think it has something to do with the format in which I put the patch on the scheduler.xml. I am wondering if it has something to do with being on a different drive because when I type cd D:\Program Files (x86)\Steam\steamapps\common\Arma 3 in CMD it wont go to the D drive but works when I put cd C:\Program Files (x86)\Steam\steamapps\common\Arma 3
Scheduler.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <Scheduler> <!-- *** RESTARTS *** --> <!-- 30 min to the 800 restart --> <job id="0"> <start>073000</start> <day>1,2,3,4,5,6,7</day> <runtime>000000</runtime> <loop>0</loop> <cmd>say -1 AUTO SERVER RESTART IN 30 MINUTES!</cmd> <cmdtype>0</cmdtype> </job> <job id="1"> <start>075500</start> <day>1,2,3,4,5,6,7</day> <runtime>000000</runtime> <loop>0</loop> <cmd>say -1 AUTO SERVER RESTART IN 5 MINUTES!</cmd> <cmdtype>0</cmdtype> </job> <job id="2"> <start>075900</start> <day>1,2,3,4,5,6,7</day> <runtime>000000</runtime> <loop>0</loop> <cmd>say -1 AUTO SERVER RESTART IN 1 MINUTE!</cmd> <cmdtype>0</cmdtype> </job> <job id="3"> <day>1,2,3,4,5,6,7</day> <start>080000</start> <runtime>000000</runtime> <loop>0</loop> <cmd>D:\Program Files (x86)\Steam\SteamApps\common\Arma 3\@Startup.bat</cmd> <cmdtype>1</cmdtype> </job> <!-- *** RESTARTS *** --> <!-- 30 min to the 1400 restart --> <job id="4"> <start>133000</start> <day>1,2,3,4,5,6,7</day> <runtime>000000</runtime> <loop>0</loop> <cmd>say -1 AUTO SERVER RESTART IN 30 MINUTES!</cmd> <cmdtype>0</cmdtype> </job> <job id="5"> <start>135500</start> <day>1,2,3,4,5,6,7</day> <runtime>000000</runtime> <loop>0</loop> <cmd>say -1 AUTO SERVER RESTART IN 5 MINUTES!</cmd> <cmdtype>0</cmdtype> </job> <job id="6"> <start>135900</start> <day>1,2,3,4,5,6,7</day> <runtime>000000</runtime> <loop>0</loop> <cmd>say -1 AUTO SERVER RESTART IN 1 MINUTE!</cmd> <cmdtype>0</cmdtype> </job> <job id="7"> <day>1,2,3,4,5,6,7</day> <start>140000</start> <runtime>000000</runtime> <loop>0</loop> <cmd>D:\Program Files (x86)\Steam\SteamApps\common\Arma 3\@Startup.bat</cmd> <cmdtype>1</cmdtype> </job> <!-- *** RESTARTS *** --> <!-- 30 min to the 2000 restart --> <job id="8"> <start>193000</start> <day>1,2,3,4,5,6,7</day> <runtime>000000</runtime> <loop>0</loop> <cmd>say -1 AUTO SERVER RESTART IN 30 MINUTES!</cmd> <cmdtype>0</cmdtype> </job> <job id="9"> <start>195500</start> <day>1,2,3,4,5,6,7</day> <runtime>000000</runtime> <loop>0</loop> <cmd>say -1 AUTO SERVER RESTART IN 5 MINUTES!</cmd> <cmdtype>0</cmdtype> </job> <job id="10"> <start>195900</start> <day>1,2,3,4,5,6,7</day> <runtime>000000</runtime> <loop>0</loop> <cmd>say -1 AUTO SERVER RESTART IN 1 MINUTE!</cmd> <cmdtype>0</cmdtype> </job> <job id="11"> <day>1,2,3,4,5,6,7</day> <start>200000</start> <runtime>000000</runtime> <loop>0</loop> <cmd>D:\Program Files (x86)\Steam\SteamApps\common\Arma 3\@Startup.bat</cmd> <cmdtype>1</cmdtype> </job> <!-- *** RESTARTS *** --> <!-- 30 min to the 0200 restart --> <job id="12"> <start>013000</start> <day>1,2,3,4,5,6,7</day> <runtime>000000</runtime> <loop>0</loop> <cmd>say -1 AUTO SERVER RESTART IN 30 MINUTES!</cmd> <cmdtype>0</cmdtype> </job> <job id="13"> <start>015500</start> <day>1,2,3,4,5,6,7</day> <runtime>000000</runtime> <loop>0</loop> <cmd>say -1 AUTO SERVER RESTART IN 5 MINUTES!</cmd> <cmdtype>0</cmdtype> </job> <job id="14"> <start>015900</start> <day>1,2,3,4,5,6,7</day> <runtime>000000</runtime> <loop>0</loop> <cmd>say -1 AUTO SERVER RESTART IN 1 MINUTE!</cmd> <cmdtype>0</cmdtype> </job> <job id="15"> <day>1,2,3,4,5,6,7</day> <start>020000</start> <runtime>000000</runtime> <loop>0</loop> <cmd>D:\Program Files (x86)\Steam\SteamApps\common\Arma 3\@Startup.bat</cmd> <cmdtype>1</cmdtype> </job> <job id='16'> <day>1,2,3,4,5,6,7</day> <start>001000</start> <runtime>013000</runtime> <loop>-1</loop> <cmd>say -1 ***Welcome to BTK Community hosted Epoch Server! The admins on here are active and if you have a problem just come into our Teamspeak! TS ts.btkgaming.com***We are new and need your help to keep the server running! Please help server cost by donating @ BTKGaming.com***</cmd> </job> <job id='17'> <day>1,2,3,4,5,6,7</day> <start>010000</start> <runtime>010000</runtime> <loop>-1</loop> <cmd>D:\Program Files (x86)\Steam\steamapps\common\Arma 3\Tools\log-rotator.cmd</cmd> <cmdtype>1</cmdtype> </job> </Scheduler>
@Startup.bat
@echo off :: =================CONFIGURATION ======================================================================= ::========================================================================================================================= ::Set the path to your servers main directory, usally your Arma 3 directory set serverdir=D:\Program Files (x86)\Steam\SteamApps\common\Arma 3\ ::========================================================================================================================= :: Set the name of your arma2oaserver.exe if you have a custom one , if its default just put arma2oaserver.exe set serverEXE=arma3server.exe ::========================================================================================================================= :: Set the name of the folder that contains your HiveExt,config.cfg,BattleEye etc set serverprof=SC ::========================================================================================================================= :: Set the path to your BEC directory for this server set becdir=D:\BEC ::========================================================================================================================= :: Set the name of your BEC.exe set becEXE=Bec.exe ::========================================================================================================================= :: Set the name of your servers config file set config=config.cfg ::========================================================================================================================= :: your Servers Port set port=2302 ::========================================================================================================================= ::The name of the mod you are running, Seperate mods with ; Ex. @DayZ_Epoch;@DayZ_Namalsk set mod=@Epoch;@EpochHive; ::========================================================================================================================= ::========================================================================================================================= echo KILLING servers ::========================================================================================================================= set serverkill="%serverdir%" cd /d %serverkill% taskkill /im %serverEXE% /F ::========================================================================================================================= echo KILLING BEC ::========================================================================================================================= echo Kill Bec.exe set beckill="%becdir%" cd /d %beckill% taskkill /im %becEXE% /F timeout 3 ::========================================================================================================================= echo cleaning logs.... ::========================================================================================================================= cd D:\Program Files (x86)\Steam\steamapps\common\Arma 3\Tools start "" "log-rotator.cmd" echo Done! timeout 5 ::========================================================================================================================= echo Starting the Server ::========================================================================================================================= set armapath="%serverdir%" cd /d %armapath% start "" "%serverEXEdir%%serverEXE%" -server -port=%port% %launch% -profiles=%serverprof% -config=%serverprof%\%config% -mod=%mod%;%hivedir% ::========================================================================================================================= echo Starting Bec ::========================================================================================================================= timeout 3 :: start bec set becpath="%becdir%" cd /d %becpath% start "" "%becEXE%" -f Config.cfg echo Server Started 100% cls @exit