Good evening. I created a few batch files that will check Steam (this assumes you already have Steamcmd installed and functional) for updates every 24 hours and restart the server. It's split into 2 files. The server is started with StartEnshrounded.bat, this first checks and kills the enshrounded_server process and then calls the UpdateEnshrounded.bat, after the update is finished it passes back to the startup batch which will spawn the Enshrouded server in a new window then starts a 24 hour (adjustable to your preferences) restart timer that loops it back to the top. Both files go inside the "C:\Gameservers\enshrouded" folder (adjust to your preferences)
StartEnshrounded.bat
@echo off
:start
echo Killing Enshrouded server ...
taskkill /im enshrouded_server.exe
::Steam Update Check
call UpdateEnshrouded.bat
@timeout 10 /nobreak
cls
:: start Enshrouded
start "Enshrouded" /NORMAL "C:\Gameservers\enshrouded\enshrouded_server.exe"
::Time in seconds before kill server process (43200 = 12 hours, 86400 = 24 hours)
timeout 86400
::Time in seconds to wait before..
@timeout 10 /nobreak
goto start
UpdateEnshrounded.bat
:start
echo off
cls
::update Enshrouded Server
echo Updating Enshrouded on Steam ...
::steamcmd +force_install_dir "c:\GameServers\enshrouded" +login %MODloginName% %MODloginPass% +app_update 2278520 validate +quit
C:\steamcmd\steamcmd +force_install_dir "c:\GameServers\enshrouded" +login anonymous +app_update 2278520 validate +quit