Create a Reboot .Bat (batch file)

gemlees -  
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

4 answers

  1. CptRomaiin Posted messages 334 Status Member 58
     
    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.
    0
  2. gemlees Posted messages 348 Registration date   Status Member Last intervention   3
     
    but only applications, this is to restart the entire machine, isn't it?
    0
  3. gemlees Posted messages 348 Registration date   Status Member Last intervention   3
     
    <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>
    0
  4. gemlees Posted messages 348 Registration date   Status Member Last intervention   3
     
    I would like to add that these are all MS-DOS windows.
    0