Jump to content
  • 0

BEC Schedule invalid file defined?


Namffoh

Question

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

7 answers to this question

Recommended Posts

  • 0

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

  • 0

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

  • 0

b0a7c11a3d.png

    <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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Discord

×
×
  • Create New...