# Schedules

### 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.&#x20;

<figure><img src="/files/imMhhu2EZPWKtNEX14s7" alt=""><figcaption><p>Main schedules page - list of all schedules</p></figcaption></figure>

<figure><img src="/files/2YTTqirM5iaNNe5slSJa" alt=""><figcaption><p>Setting the times for a schedule. This will make it restart once a day.</p></figcaption></figure>

<figure><img src="/files/TUt9LTCLM8Ks1VN3jX5W" 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="/files/ZjVzTH63Pq2YqInsUXNG" alt=""><figcaption><p>What this specific schedule should look like once completed.</p></figcaption></figure>

By `@icewaffles`


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ember.host/ember-panel/schedules.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
