Create a Reboot .Bat (batch file)
gemlees
-
gemlees Posted messages 348 Registration date Status Member Last intervention -
gemlees Posted messages 348 Registration date Status Member Last intervention -
Hello, I would like to create batch files for the auto reboot of my game servers such as Arma 3, Chivalry: Medieval Warfare, 7 Days, etc.
Thank you!
Configuration: Windows 8 / Firefox 32.0
Thank you!
Configuration: Windows 8 / Firefox 32.0
4 answers
-
Hi,
If you want to restart the entire server and it's on Windows, you can use the following command in a .bat file:
shutdown /r /t 0
If it's Linux:
reboot
or
shutdown -r now
If you just want to restart the services of each game without restarting the server, you'll need to find the specific commands for each of them. -
but only applications, this is to restart the entire machine, isn't it?
-
<translation>
And what kind of specific commands are these? .. I can't just create one based on an example, can I, adding certain commands for each application?
</translation> -
I would like to add that these are all MS-DOS windows.