Namffoh Posted June 9, 2014 Report Share Posted June 9, 2014 I've set up scheduled restarts with BEC, but it says "Schedule with job id=10 has a invalid file defined" <job id="10"> <time>050000</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>restart.bat</cmd> <cmdtype>1</cmdtype> </job> The .bat file is in the same folder as the CFG and schedule files, what gives? No matter where I put the file, BEC can't find it Link to comment Share on other sites More sharing options...
0 Guest Posted June 9, 2014 Report Share Posted June 9, 2014 insert the full path to the file like C:\Gameserver\Epoch\cfg\restart.bat Link to comment Share on other sites More sharing options...
0 Namffoh Posted June 9, 2014 Author Report Share Posted June 9, 2014 Already did that dude, even moved the file to different directories and tried it, it just won't pick the file up :/ Link to comment Share on other sites More sharing options...
0 Namffoh Posted June 9, 2014 Author Report Share Posted June 9, 2014 <cmd>C:\Users\Administrator\Desktop\Gameservers\arma2-dayz\DayZ Epoch Server\BEC\Config\restart.bat</cmd> <cmdtype>1</cmdtype> Link to comment Share on other sites More sharing options...
0 raymix Posted June 9, 2014 Report Share Posted June 9, 2014 Make sure that BEC config.cfg has proper path defined as well: [Misc] Scheduler = Scheduler.xml and that scheduled tasks are incremental starting from 0 - 10 (or whatever is the last job number) Link to comment Share on other sites More sharing options...
0 Namffoh Posted June 9, 2014 Author Report Share Posted June 9, 2014 I've tried all of this, everything's configured correctly but it just won't load the damn batch file 19:43:54 : Schedule with job id=10 has a invalid file defined 19:55:21 : Config Error : WhiteListFile path is not Valid 19:56:14 : Schedule with job id=10 has a invalid file defined 20:05:59 : Config Error : WhiteListFile path is not Valid 20:06:41 : Schedule with job id=10 has a invalid file defined 20:16:48 : Config Error : WhiteListFile path is not Valid 20:17:33 : Schedule with job id=10 has a invalid file defined 21:06:08 : Config Error : WhiteListFile path is not Valid 21:07:17 : Schedule with job id=10 has a invalid file defined 21:34:47 : Config Error : WhiteListFile path is not Valid 21:35:48 : Schedule with job id=10 has a invalid file defined 21:36:05 : Warning, Unexpected error in verified check. Processing info later. 22:01:05 : Config Error : WhiteListFile path is not Valid 22:01:57 : Schedule with job id=10 has a invalid file defined 22:39:04 : Config Error : WhiteListFile path is not Valid 22:40:11 : Schedule with job id=10 has a invalid file defined Link to comment Share on other sites More sharing options...
0 Namffoh Posted June 9, 2014 Author Report Share Posted June 9, 2014 <job id="9"> <time>050000</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>#shutdown</cmd> <cmdtype>0</cmdtype> </job> <job id="10"> <time>050000</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>C:\Users\Administrator\Desktop\Gameservers\arma2-dayz\DayZ Epoch Server\BEC\Config\restart.bat</cmd> <cmdtype>1</cmdtype> </job> meeeeeh Link to comment Share on other sites More sharing options...
0 Namffoh Posted June 9, 2014 Author Report Share Posted June 9, 2014 Found the problem, my .bat was a shortcut for some reason, just made a new one and replaced it. Cheers anyway :) Link to comment Share on other sites More sharing options...
Question
Namffoh
I've set up scheduled restarts with BEC, but it says "Schedule with job id=10 has a invalid file defined"
The .bat file is in the same folder as the CFG and schedule files, what gives? No matter where I put the file, BEC can't find it
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now