Banner
Logo

How can we help you?

Search our help center...

Go to Website

How to automatically restart your Minecraft server

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.

schedules-sidebar.png
  1. 1

    Click the Create Schedule button.

create-schedule.png
  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.

schedule-menu.png

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.

schedules-filled menu.png
  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.

send-power-action.png
  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.

tri-daily-restart.png

Interested in purchasing Minecraft servers with instant activation, easy customisation, and great & extensive Knowledgebase articles? Click Link to Revivenode's Minecraft Page here to purchase now!!

CREATED BY

profile picture

Antonio at 04/27/2024

CEO

UPDATED BY

profile picture

Arinji at 05/08/2024

Developer

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.