Expanse Host
  • Welcome!
  • Account
    • How to setup Expanse Discord Bot
    • How To Enable 2-Factor-Authentication (2FA)
  • Minecraft
    • How to use snapshot versions for a Java server
    • How to Split Your Minecraft Server
    • How to Backup Your Server
    • How to Enable Command Blocks
    • How to Turn Your Minecraft Server Cracked
    • How to Setup a Velocity Server
    • How to connect a domain with a Minecraft Server with a dedicated IP (Namecheap)
    • How to connect a domain with a IP and Port (Cloudflare)
    • How to disable spawn protection on your Minecraft Server
    • How to restart your Minecraft server automatically
    • How to change the version of your Minecraft Server
    • What is the difference between BungeeCord, Waterfall , Flamecord and Velocity?
    • How to "OP" and "DE-OP" a player in Minecraft
    • How to decrease lag using Chunky
    • How to change the server icon on your server
    • How to Upload Your Own Custom Minecraft Java World
    • How to add a resource pack
    • How to set a custom seed on your Minecraft Server
  • VPS
    • Connect to your server
    • How to install OS
    • How to connect to your VPS server via SFTP
Powered by GitBook
On this page

Was this helpful?

  1. Minecraft

How to restart your Minecraft server automatically

Restarting the server can be good for its health

PreviousHow to disable spawn protection on your Minecraft ServerNextHow to change the version of your Minecraft Server

Last updated 11 months ago

Was this helpful?

  1. On the left hand side, Click "Schedules".

  1. 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 0 * * * . This will make our server restart every day. Once you have filled in the information, click "Create Schedule".

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

  1. You need to fill out 4 things.

  • Action - Can be a command, power action, creating a backup

  • 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.

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

If you need any further assistance click contact us via tickets.

https://crontab.guru/