# Schedule a maintenance window

Announce planned maintenance on your status page, email subscribers before the work starts and when it ends, and start or end the window early.

A maintenance window tells customers about planned work before it happens. It is a single period with a start and an end. During it, the affected services show as under maintenance, the work appears on your status pages, and StatusCheck can email subscribers before it starts, when it starts and when it ends.

**Before you start**

- You need the **Owner**, **Admin** or **Editor** role in the workspace.
- Decide which monitors and [components](/docs/status-pages/components/) the work affects.
- To show the window to visitors, have at least one status page. Subscribers of a page that is still a draft get no email.

## Schedule a maintenance window

1. In StatusCheck, open **Maintenance** in the sidebar.

   ![The Maintenance list with each window's status, title, time window, affected services and status page.](https://www.statuscheck.io/_astro/maintenance-list.BepEbJFa.png)

2. Select **Schedule new**. The **Schedule maintenance window** form opens.

3. Enter a **Title** of up to 150 characters. It is for your team, so it can be as technical as you like, for example "Database migration: events table".

4. Under **Scheduled**, set **From** and **To** in your local time zone. The form shows the duration, and the end must be at least a minute after the start.

5. Under **Affected services**, select **Add services** and pick the monitors and components the work affects. You need at least one.

6. Turn on **Show on a status page** in the **Publish on a status page** card if visitors should see the window. Then fill in the fields described below.

   ![The Publish on a status page card with Show on a status page turned on, one of two status pages selected, a Public title, a Message and Notify subscribers set to As soon as it is scheduled.](https://www.statuscheck.io/_astro/maintenance-publish.Dym2hsAw.png)

7. Select **Schedule**.

StatusCheck opens the window's own page, and the window appears in the **Maintenance** list as **Upcoming**. If you published it, visitors see it on the status page under scheduled maintenance until it starts, then under **Maintenance in progress**. They see the **Title** only if you leave **Public title** empty.

### Fields for publishing on a status page

| Field | What it does |
| --- | --- |
| **Status pages** | The pages that show the window. A draft page is marked "Won't email subscribers: draft". |
| **Public title** | The title visitors see. Defaults to the **Title** above. Up to 150 characters. |
| **Message** | What will be unavailable, for how long, and what to expect afterwards. Up to 2,000 characters. |
| **Notify subscribers** | When subscribers of the selected pages get email. See below. |
| **How far ahead** | Only with **Ahead of the start**: when the reminder is sent, 15 minutes, 30 minutes, 1 hour, 2 hours, 6 hours, 1 day or 2 days before. |

| Notify subscribers | Emails sent |
| --- | --- |
| **Don't notify** | None. Subscribers only see the window on the page. |
| **As soon as it is scheduled** | One when you publish the window, one when it starts and one when it ends. |
| **Ahead of the start** | One when you publish the window, a reminder at the time you choose under **How far ahead**, then one when it starts and one when it ends. |

## What happens during a window

While a window is in progress:

- The affected monitors show the **Maintenance** status in StatusCheck.
- On the status pages you chose, the affected services show **Under maintenance**. If nothing on the page is degraded or down, the banner reads "Maintenance in progress".
- StatusCheck emails subscribers according to the **Notify subscribers** setting.

Monitoring carries on as usual. StatusCheck keeps checking the affected monitors, a failure still opens an [incident](/docs/incidents/), and alerts are still sent.

:::caution[Mute the affected monitors]
If you do not want to be alerted during planned work, mute the affected monitors for the length of the window. Muting stops alerts but keeps the checks running. Unmute them when the work ends. See [Manage monitors](/docs/monitors/manage/).
:::

## Change, start, end or delete a window

Open **Maintenance** in the sidebar and select the window. Its status is one of **Upcoming**, **In progress** or **Completed**. The list shows one status at a time, so use the **Status** filter to find a window in another state.

- While a window is upcoming, you can change anything in it and select **Save changes**. Changes to a window in progress apply immediately.
- **Start now** begins an upcoming window right away, for example when the work starts early. A reminder that has not gone out yet is not sent.
- **End now** ends a window in progress early, after you confirm with **End maintenance**. The status page shows it as completed.
- **Post an update** adds a note under the window, for example "Halfway through, everything on track." Write it and select **Post update**. On a published window it appears on the status page, and StatusCheck emails it to subscribers if the **Notify subscribers** switch beside the button is on. On a window that is not published, updates are internal notes. You can't post updates once a window is completed.
- **Delete** removes the window from the status page and the incident calendar, after you confirm with **Delete maintenance**.

Completed windows stay on the page's **History** and in its incident calendar.

## Troubleshooting

**Subscribers were not emailed.** Check the window's **Notify subscribers** setting, that the page is published, and that the page has **Subscribe to status page** turned on. An email that would go out more than an hour late is skipped.

**I was alerted during maintenance.** Maintenance windows do not silence alerts. Mute the affected monitors for the window. See [Manage monitors](/docs/monitors/manage/).

**A service does not show Under maintenance.** The window must be in progress, name that monitor or component, and be published to the page you are looking at.

## Related

- [Manage monitors](/docs/monitors/manage/) covers muting and pausing.
- [Subscribers](/docs/status-pages/subscribers/) explains who receives maintenance email.
- [Post a status update](/docs/status-pages/status-updates/) covers unplanned problems.
