Server restart management?

Nitrado now has an official Discord server to bring communities, friends and other gamers together!
Join the Nitrado Community Discord now and share your experiences and knowledge with others!

Click here to go to the Discord Server!
  • Under automated tasks I have one task listed, a sever restart every 30 days:

    game_server_restart Time: 05:21

    Last Run: 03-04-2022 05:21:35 UTC -05:00

    Next Run: 04-04-2022 05:21:00 UTC -05:00

    and yet the server is restarting twice a day at 6:21am and 10:21am (see below)

    This is fine, as the server needs to be restarted daily.

    But my question: where is the server getting the command to restart twice a day at these particular times?

    It's not coming from the messages.xml file.

    When I called Nitrado they said they guessed it was being generated by the automated tasks tool, but they didn't know for sure and did not believe there was a configuration file to access that the automated task tool was generating.

    Anybody know any more than this?

    How are y'all telling your servers when to restart? And are your servers generating warning prompts for impending restarts? And if the answer is yes, where are you generating these restart warning prompts?

    thanks for any help


    2022-04-01 10:21:28 Server restart requested (NITRAPI)

    Fri, 01 Apr 2022 06:21:31 -0400 Server restart requested (WINDOWS)

    2022-04-02 10:21:31 Server restart requested (NITRAPI)

    Sat, 02 Apr 2022 06:21:38 -0400 Server restart requested (WINDOWS)

    2022-04-03 10:21:35 Server restart requested (NITRAPI)

    Sun, 03 Apr 2022 06:21:40 -0400 Server restart requested (WINDOWS)

  • If you add a task by only adding the hour and the minute, the server will do the restart everyday at this time you set it on.


    You can let the resart warnings, show up in game by adding


    <message>

    <deadline>???</deadline>

    <text>Server Restarts in #tmin minutes.</text>

    </message>


    in the message.xml


    you have to sync the deadline value to the resarts.


    if your server restarts every 120minutes, you can try adding 120 as deadline, and see if it shows up correct. 110 works perfect for us.

  • Not sure if this will help. I have mine set to restart every 4 hours, attached is how I scheduled it, so you can just adjust to whatever day / time you want. I will also include the .json file I built up through the Expansion mod to set in game timers to let the community know when the restarts will happen (If you use the Expansion mod)


    {

    "m_Version": 1,

    "Enabled": 1,

    "UTC": 0,

    "Notifications": [

    {

    "Hour": 24,

    "Minute": 38,

    "Second": 0,

    "Title": "Server Maintenance: Restart",

    "Text": "Server Restart in 30mins",

    "Icon": "Info",

    "Color": ""

    },

    {

    "Hour": 24,

    "Minute": 58,

    "Second": 0,

    "Title": "Server Maintenance: Restart",

    "Text": "Server Restart in 10mins",

    "Icon": "Info",

    "Color": ""

    },

    {

    "Hour": 1,

    "Minute": 3,

    "Second": 0,

    "Title": "Server Maintenance: Restart",

    "Text": "Server Restart in 5mins",

    "Icon": "Info",

    "Color": ""

    },

    {

    "Hour": 4,

    "Minute": 30,

    "Second": 0,

    "Title": "Server Maintenance: Restart",

    "Text": "Server Restart in 30mins",

    "Icon": "Info",

    "Color": ""

    },

    {

    "Hour": 4,

    "Minute": 50,

    "Second": 0,

    "Title": "Server Maintenance: Restart",

    "Text": "Server Restart in 10mins",

    "Icon": "Info",

    "Color": ""

    },

    {

    "Hour": 4,

    "Minute": 55,

    "Second": 0,

    "Title": "Server Maintenance: Restart",

    "Text": "Server Restart in 5mins",

    "Icon": "Info",

    "Color": ""

    },

    {

    "Hour": 8,

    "Minute": 38,

    "Second": 0,

    "Title": "Server Maintenance: Restart",

    "Text": "Server Restart in 30mins",

    "Icon": "Info",

    "Color": ""

    },

    {

    "Hour": 8,

    "Minute": 58,

    "Second": 0,

    "Title": "Server Maintenance: Restart",

    "Text": "Server Restart in 10mins",

    "Icon": "Info",

    "Color": ""

    },

    {

    "Hour": 8,

    "Minute": 1,

    "Second": 0,

    "Title": "Server Maintenance: Restart",

    "Text": "Server Restart in 5mins",

    "Icon": "Info",

    "Color": ""

    },

    {

    "Hour": 12,

    "Minute": 30,

    "Second": 0,

    "Title": "Server Maintenance: Restart",

    "Text": "Server Restart in 30mins",

    "Icon": "Info",

    "Color": ""

    },

    {

    "Hour": 12,

    "Minute": 50,

    "Second": 0,

    "Title": "Server Maintenance: Restart",

    "Text": "Server Restart in 10mins",

    "Icon": "Info",

    "Color": ""

    },

    {

    "Hour": 12,

    "Minute": 55,

    "Second": 0,

    "Title": "Server Maintenance: Restart",

    "Text": "Server Restart in 5mins",

    "Icon": "Info",

    "Color": ""

    },

    {

    "Hour": 16,

    "Minute": 38,

    "Second": 0,

    "Title": "Server Maintenance: Restart",

    "Text": "Server Restart in 30mins",

    "Icon": "Info",

    "Color": ""

    },

    {

    "Hour": 16,

    "Minute": 58,

    "Second": 0,

    "Title": "Server Maintenance: Restart",

    "Text": "Server Restart in 10mins",

    "Icon": "Info",

    "Color": ""

    },

    {

    "Hour": 17,

    "Minute": 1,

    "Second": 0,

    "Title": "Server Maintenance: Restart",

    "Text": "Server Restart in 5mins",

    "Icon": "Info",

    "Color": ""

    },

    {

    "Hour": 20,

    "Minute": 31,

    "Second": 0,

    "Title": "Server Maintenance: Restart",

    "Text": "Server Restart in 30mins",

    "Icon": "Info",

    "Color": ""

    },

    {

    "Hour": 20,

    "Minute": 51,

    "Second": 0,

    "Title": "Server Maintenance: Restart",

    "Text": "Server Restart in 10mins",

    "Icon": "Info",

    "Color": ""

    },

    {

    "Hour": 20,

    "Minute": 56,

    "Second": 0,

    "Title": "Server Maintenance: Restart",

    "Text": "Server Restart in 5mins",

    "Icon": "Info",

    "Color": ""

    }

    ]

    }

  • great information