> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.sparkedhost.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Restart a Minecraft Server

Do you need to refresh your Minecraft server world or apply new changes to your Minecraft server folders? Restarting server is a quick and simple way to fix issues, update your server files, load new plugins, mods, jar files, refresh the server data, and any other services. In this guide, we’ll show how to restart a Minecraft server.

Don't already host with us? 10,000+ server owners trust Sparked Host for lag-free Minecraft worlds. [Claim your server savings](https://sparkedhost.com/minecraft-server-hosting?utm_source=referral&utm_medium=knowledge_base&utm_campaign=kb_redirect&utm_content=intro) to get higher performance at less $ per month.

## How Often Should a Minecraft Server Restart?

It's best practice to restart your own Minecraft server often. We recommend restarting your Minecraft server at least once every 1-3 days, depending on your hardware and how many players are online.

## Restart Using A Command

To restart a Minecraft server using a command:

* Log in to your control panel [here](https://control.sparkedhost.us/)
    
* In the server console's command line, type `stop` and start the server to make your server online once again!
    
    ![](https://images.surferseo.art/b5dab6fc-dc50-420e-ae27-354888023abb.png =512x147)

## How to Make a Minecraft Server Restart Automatically

To make a Minecraft server restart automatically:

1. On the left hand side, Click "Schedules".
    
    ![](https://images.surferseo.art/e92eb7fc-d458-48e8-af29-c1ed00bd5425.png =256x334)
2. 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](https://crontab.guru/) page can help you configure the time.
    
    ![](https://images.surferseo.art/e144ebd2-b2b9-4259-9add-c48a6ac57311.png =512x460)
    
    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".
    
3. You can also configure the schedule to run only when the server is online by adding a "New Condition"
    
    ![](https://images.surferseo.art/510fd5ff-4ac4-4158-9e32-989ba09086dc.png =512x264)
4. Once the schedule has been created, Click the "New Task" button.
    
    ![](https://images.surferseo.art/45e8eb7d-61fc-45b8-82cb-52f3548bebf5.png)
5. 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".

![](https://images.surferseo.art/30cb8442-699d-4502-b3ac-69c750662a32.png =512x376)

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

## Still have some questions?

If you need any further support, you can file a ticket [here](https://billing.sparkedhost.com/submitticket.php)