Scheduled Restarts



  • I'm new at this so sorry if I'm way off in left field but using the DZSALModServer.exe I don't there's a way to schedule a restart in BE. I run a batch file that will use taskkill to shut down DayZServer_x64 and give a 3 second timeout to allow thewebserver window to close. Then the normal command line runs without any problems. The Windows 10 scheduler gives me an error:

    The top of the error window says the error is from DZSALModServer.exe but says:

    Mod error: failed to find mod, C:\WINDOWS\[email protected]

    Which is the forst mod listed, I added a CD and a path= to see if it can find the mod?

    @echo off
    Path=E:\Steam\steamapps\common\DayZServer
    CD E:\Steam\steamapps\common\DayZServer
    taskkill /im "DayzServer_x64.exe"
    timeout /T 3
    Start "" "E:\Steam\steamapps\common\DayZServer\DZSALModServer.exe" "-instanceId=1" "-config=serverDZ.cfg" "-port=2302" "[email protected]



  • After searching for a long time I found the answer. If you're a new server owner, go here:

    https://github.com/XxFri3ndlyxX/Battleye-Bec-DayZ-Auto_Restart

    I'm not sure if I'm supposed to post links here, if so I apologize.