Im new here and totally new to this forum so sorry if this is wrong area. Anyway i have a game server and people have being crashing it but it does not restart automatically so i have to do it manually all the time and if im not there when some of the players who use my server are they cant play it.
What i need is a batch file or program that will check if another batch file (My server) is running, and if it is not restart it but if it is check again in another 5 minutes. Also sometimes the batch file that runs my server does not close but displays a message droped, a better idea i had that may be possible is to test the connection between me and the server if there is no connection then close the old batch and start a new one,(if my internet is disconnected this wont be a problem because im hosting it from my own computer) if there still is a connection dont do anything and check again in 5 minutes. Now im a total noob to batch files so i have abosulutly no idea how to do this. If anyone knows how or has a way to do this please post it here.
some imformation you may need:
operating systme: Windows Vista.
thats all, thanks in advanance.
What i need is a batch file or program that will check if another batch file (My server) is running, and if it is not restart it but if it is check again in another 5 minutes. Also sometimes the batch file that runs my server does not close but displays a message droped, a better idea i had that may be possible is to test the connection between me and the server if there is no connection then close the old batch and start a new one,(if my internet is disconnected this wont be a problem because im hosting it from my own computer) if there still is a connection dont do anything and check again in 5 minutes. Now im a total noob to batch files so i have abosulutly no idea how to do this. If anyone knows how or has a way to do this please post it here.
some imformation you may need:
operating systme: Windows Vista.
thats all, thanks in advanance.