Adding Server Restart Message to server on XBOX

  • I have been doing some research to find out how to add a server message explaining when the server will restart and how long until restart. I am having some trouble understanding how to write out the code for the message to pop up at a certain time periodically until restart.

    My server is set to restart every 6 hours, so I need help with the coding to have it send a server message at 90 mins, 60 mins, 30 mins, 10 mins, 5 mins, 2 mins, and 1 min until restart. Can someone help me understand how to do this?

    Thank you for you time in advance.