Banner
Logo

How can we help you?

Search our help center...

Go to Website

Home / Minecraft

How to automatically restart your Minecraft server

Last Updated on September 19, 2024

It's good practice to restart your Minecraft server regularly as this allows the server clear all the data in the RAM and the CPU processes that isn't needed, allowing for other server processes to run more smoothly. Think of it like a good nights sleep and waking up with a clear mind in the morning.

  1. 1

    Head over to the Schedules tab under Advanced on the sidebar of your server.

  1. 1

    Click the Create Schedule button.

  1. 1

    A pop-up will appear prompting you for a Schedule name and the schedule frequency. In our case, we're calling our Tri-daily Restart and having the schedule run every 3 days.

The scheduling uses a system called Cronjobs, see  crontab.guru for help with working out the desired frequency.

  1. 1

    Once you are happy with the details you've set, click the Create Schedule button.

  1. 1

    Click on your newly created schedule and click New task.

You'll then be prompted for 4 details.

  • Action - A command, power action or backup creation.

  • Time offset - Delay the action by an amount of time before running after the previous task.

  • Payload - What should be ran.

  • Continue on failure - Whether future tasks should run if the current task fails.

For our example, we will set the action to Send Power Action and set payload to Restart the server. You can leave all the other properties as default.

  1. 1

    Once you are happy with the details you've set, click the Create Task button.

That's it, you can now see at the top of the schedule when it'll next run and thus, restart your server.

Star

0 Users Found This Useful

Did you find this article helpful?

We are glad you found this article helpful!

Thank You for the feedback, we will work to improve the article.

logo

Revivenode provides budget-friendly servers with no compromise to performance. Kick start your journey today with a server for friends or build your own community using Revivenode.

Registration Number: 2022-001074784

Copyright © 2019-2023 Revivenode. All Rights Reserved.

Having Issues?