maca134 / MBCon

A simple app to manage various tasks via rcon for ARMA servers.
17 stars 19 forks source link

Execute a Batch File from Scheduler #4

Open Gr8z opened 9 years ago

Gr8z commented 9 years ago

Hey Maca,

I would like to excute a restart Batch File in schedule.json, I tried the BEC method but it doesnt seem to work. What would be the best way to restart the server with the restart messages with MBcon ?

maca134 commented 9 years ago

I might be able to write a small plugin to kill a process by name after a set time, unless you fancy having a crack =) Another solultion, altho i dont recommend it is using the be #shutdown but it can be unreliable.

Gr8z commented 9 years ago

How will i get server to back after the exe is down ?

disto1978 commented 9 years ago

Hey Maca, Finally BEC seems don´t work anymore since A3 1.50, even if it´s blocked in etc/hosts. It would be great if you add a possibility in MBCon to call .bat/batch files by the sheduler like in BEC.

Gr8z commented 9 years ago

BEC works fine with the latest arma update.

disto1978 commented 9 years ago

Hey Gr8z, for me it does not work anymore. If i start our Epoch Backup with Arma 3 1.48 BEC works fine, if i use the new 1.50 BEC don´t get connection to BE Server.

MBCon from Maca looks fine, i think if MBCon can execute batch files from the sheduler it´s a good replacement for BEC. Otherwise i have to try to get BEC working again but actually don´t know how.