> For the complete documentation index, see [llms.txt](https://docs.ember.host/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ember.host/ember-panel/schedules.md).

# Schedules

How to setup automatic schedules for your server!

### Setup

Head over to the Ember Host panel and click on schedules on the sidebar. The page you see should show you a list of all existing schedules that will run.

To create a new schedule, click the button that reads `Create Schedule` and set a name for it. Then, set how often it will run - if you're confused, try toggling on the button that reads `Show Cron Cheatsheet` for help.

Once created, click into the schedule on the main list and click `New Task`. Now, you can just set whatever task you want to run on the tiems you schedules earlier. You can also specify a delay, so tasks don't all run at once. A good use for this is first sending a broadcast out to your players to let them know your server is about to restart, and have the server actually restart *after* the broadcast is sent.

### Example

Here is an example of an automatic daily restart done with schedules.

<figure><img src="https://4084758248-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGcHR5Aks7PzvZEX7RVwh%2Fuploads%2FlmxsSHkX8WfD0BUwjZf2%2F4.png?alt=media&amp;token=23bf45d1-3545-4bec-a7c5-df84d4a6f725" alt=""><figcaption><p>Main schedules page - list of all schedules</p></figcaption></figure>

<figure><img src="https://4084758248-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGcHR5Aks7PzvZEX7RVwh%2Fuploads%2FhdC3hIwqCL9R3AXJejMm%2F3.png?alt=media&amp;token=220c9e77-f0bc-4e6e-a2b7-9eb1728c0305" alt=""><figcaption><p>Setting the times for a schedule. This will make it restart once a day.</p></figcaption></figure>

<figure><img src="https://4084758248-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGcHR5Aks7PzvZEX7RVwh%2Fuploads%2FAU3I2xJq8pdfT7gAG0EP%2F2.png?alt=media&amp;token=6d0bc9de-dde6-4d4c-965b-615768840ded" alt=""><figcaption><p>Setting what tasks on run at the time specified - in this case, it will restart the server.</p></figcaption></figure>

<figure><img src="https://4084758248-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGcHR5Aks7PzvZEX7RVwh%2Fuploads%2FYs6nVtw69dmoJaZt34kZ%2F1.png?alt=media&amp;token=25878699-774f-4c25-9837-37d858f40526" alt=""><figcaption><p>What this specific schedule should look like once completed.</p></figcaption></figure>

If you have any more questions, you can receive support from either our knowledgable community or dedicated staff at any time of day in our [Discord](https://discord.com/invite/68s9zKtSFb). Good luck with your server!

{% embed url="<https://ember.host>" %}
