domistyle 221 Posted September 9, 2012 (edited) InfoWatchdog is a simple console application I wrote to protect my server against crashes.I thought I would share it here, maybe someone else can use it.Of course, it is for dedicated servers only.It works far better then any batch file out there.* Checks PID, not process name (= Multi server support)* Starts BEC too (if enabled)* You decide the interval to check if server is still running* No unnecessary hard coded wait times, BEC will start as soon as server is up* Use in combination with BEC to auto restart your server every 6 hoursInstallation1. Download Watchdog2. Place in server root directory together with arma2oaserver.exe3. Edit config.txt4. Start Watchdog.exeNote: Watchdog will always start the beta from Expansion/beta/arma2oaserver.exe!Note: Since BEC is a pain in the ass to start with parameters you need to provide your BEC path and config file to use in bec.bat which is included in the archive with Watchdog.Tell me if it works for you, didn't have enough time to fully test it.Upcoming features* Ban & Script merge on each restart* Ability to provide a servername in config so there is a difference if you are running more servers Edited September 9, 2012 by DomiStyle Share this post Link to post Share on other sites
iteration 0 Posted September 10, 2012 (edited) This would be much tidier than just running a batch file.I gave it a try and found that it didn't seem to be loading the server config properly.I am running a private hive, but changed the parameters to match and it still didn't seem to work.Is there any option to make it echo the file that it is launching, etc, so I can try to find out why it isn't loading my config.My config file is as follows:arguments=-port=2302 -config=bliss\config.cfg -cfg=bliss\basic.cfg -profiles=Bliss -name=Bliss -mod=@DayZ;@Bliss; -cpuCount=2interval=120000startBEC=trueIt basically looks like it is simply running a blank config file, rather than reading the config and cfg from bliss\ Edited September 10, 2012 by Iteration Share this post Link to post Share on other sites
ryahn 112 Posted September 10, 2012 Good to see someone is making something close to mine. Now just need support log rotation and you will have something like mine :D Share this post Link to post Share on other sites
harleywastaken 0 Posted September 11, 2012 i'm getting the same problem as Iteration - BEC won't connect to the server after it's auto launched and dayZ commander shows the server's actual hostname instead of what i've set for hostname= in the config. Share this post Link to post Share on other sites
ryahn 112 Posted September 11, 2012 Make sure the server is reading the config file for the server. Also make sure bec is either using 127.0.0.1 or your servers ip address Share this post Link to post Share on other sites
iteration 0 Posted September 11, 2012 It is fairly obvious that it isn't reading the configs, I'm just after some way to find out what it is actually loading. (Which would be easy to find if it just did an echo of the command to the console) Share this post Link to post Share on other sites
rocky123xo 0 Posted September 14, 2013 Hey, is it possible that your Watchdog program still works/exists? The link doesn't work. I've been trying to find a suitable replacement to my clutter of batch files.Thanks! Share this post Link to post Share on other sites
domistyle 221 Posted September 15, 2013 Hey, is it possible that your Watchdog program still works/exists? The link doesn't work. I've been trying to find a suitable replacement to my clutter of batch files.Thanks!It has been outdated for a very long time, sorry. Share this post Link to post Share on other sites