This looks simple but I'm still struggling to fully automate all of this.
So far I've automated Rust and Oxide update on each restart with the script below and it's working fine.
But what I would like to do is simply trigerring a server restart each time an oxide update (not a rust update) is available. I don't even need it to compare my version and the website version. Just a restart and the rest should be fine...
I found this but I'm unable to use it properly.
Current script (Rust & Oxide update) :
C:\RUST\SteamCMD\steamcmd\steamcmd.exe +login anonymous +force_install_dir C:\RUST\testserver +app_update 258550 +quit
curl -SL -A "Mozilla/5.0" "https://umod.org/games/rust/download" --output oxide.rust.zip
tar -xvf oxide.rust.zip
del oxide.rust.zip
Sry if it looks a little naïve... I'm starting to discover all of this.