Articles on: Minecraft

How to restart your Minecraft server automatically

With our Schedules feature, you can restart your Minecraft server at specific times. This is most useful for daily restarts which can increase the overall performance of the Minecraft server.

How to restart your Minecraft server automatically



On the left hand side, Click "Schedules".



Create a new schedule. Here, you will need to assign it a name, and configure the time between each restart. This system uses the cronjob syntax. This page can help you to configure the time. You can also configure the schedule to only run when the server is online!



In this example, we will be using the 0 */12 * * * CRON. This will make our server restart every 12 hours. Once you have filled in the information, click "Create Schedule".

Once the schedule has been created, Click the "New Task" button.



You need to fill out 4 things.

Action - Can be a command, power action, creating a backup or emptying the recycling bin
Time offset - The amount of time to wait after the previous task executes before running this one.
Payload - What should be run
Continue on failure -Whether future tasks will run if the current task fails

Set the action to Send Power Action. Leave the time offset to 0. Last but not least, set the payload to Restart the server. Once completed, click "Create Task".



That's it! It will show when it is going to run next at the top of the schedule!




If you require any further assistance, please create a ticket here.


Created By: Greg K.

Updated on: 22/12/2022

Was this article helpful?

Share your feedback

Cancel

Thank you!