[Yandex Cloud documentation](../../index.md) > [Yandex Managed Service for Trino](../index.md) > [Step-by-step guides](index.md) > Clusters > Maintenance

# Trino cluster maintenance

You can manage [maintenance](../concepts/maintenance.md) of a Yandex Managed Service for Trino cluster.

## Getting a list of maintenance jobs {#list-maintenance}

{% list tabs group=instructions %}

- Management console {#console}
  1. Open the [folder dashboard](https://console.yandex.cloud).
  1. Navigate to **Managed Service for&nbsp;Trino**.
  1. Click the name of your cluster and select the **Maintenance** tab.

  To view maintenance jobs with a specific status, click **Status** above the maintenance list and select the status you want from the drop-down menu. To find a specific maintenance job, enter its ID or task name in the field above the list of maintenance sessions.

{% endlist %}

## Getting cluster maintenance logs {#maintenance-logs}

{% list tabs group=instructions %}

- Management console {#console}

  1. Open the [folder dashboard](https://console.yandex.cloud).
  1. Navigate to **Managed Service for&nbsp;Trino**.
  1. Click the name of your cluster and select the **Maintenance** tab.
  1. Click the ID of the maintenance job you need.
  1. Click **Task logs**.

{% endlist %}

## Moving scheduled maintenance {#postpone-planned-maintenance}

Maintenance with the **Planned** status is scheduled for the date and time specified in the **Start date** column. You can reschedule them to a new date and time if needed.

To reschedule maintenance for a new date and time:

{% list tabs group=instructions %}

- Management console {#console}

  1. Open the [folder dashboard](https://console.yandex.cloud).
  1. Navigate to **Managed Service for&nbsp;Trino**.
  1. Click the name of your cluster and select the **Maintenance** tab.
  1. Click ![image](../../_assets/console-icons/ellipsis.svg) next to the maintenance with the **Planned** status.
  1. In the drop-down menu, select ![image](../../_assets/console-icons/arrow-uturn-cw-right.svg) **Postpone**.
  1. In the window that opens:
      * To postpone the maintenance until the next available window, click **Next window** and then **Reschedule**.
      * To move a maintenance forward or backward to a specific UTC date and time, click **Choose date (UTC)**, then select a new date and time and click **Reschedule**.

{% endlist %}

## Starting scheduled maintenance immediately {#exec-planned-maintenance}

If you need to, you can perform a maintenance with the **Planned** status immediately without waiting for the time specified in the **Start date** column.

To run a scheduled cluster maintenance job immediately:

{% list tabs group=instructions %}

- Management console {#console}

  1. Open the [folder dashboard](https://console.yandex.cloud).
  1. Navigate to **Managed Service for&nbsp;Trino**.
  1. Click the name of your cluster and select the **Maintenance** tab.
  1. Click ![image](../../_assets/console-icons/ellipsis.svg) next to the maintenance.
  1. In the drop-down menu, select ![image](../../_assets/console-icons/triangle-right.svg) **Carry out now**.

{% endlist %}

## Configuring a maintenance window {#set-maintenance-window}

By default, maintenance can be scheduled for any time. You can choose a specific day of the week and hour to schedule maintenance. For example, you can choose the time when the cluster is least busy.

{% note warning %}

A scheduled maintenance job will be canceled automatically if it falls outside the specified interval.

{% endnote %}

{% list tabs group=instructions %}

- Management console {#console}

  1. Open the [folder dashboard](https://console.yandex.cloud).
  1. Navigate to **Managed Service for&nbsp;Trino**.
  1. Click the name of your cluster and select the **Maintenance** tab.
  1. Click ![image](../../_assets/console-icons/calendar.svg) **Configure the maintenance window**.
  1. In the window that opens:
     * To allow maintenance at any time, select **At any time**, which is also the default option.
     * To allow weekly maintenance at a specific time, select **By schedule** and specify the weekday and hour in UTC.

{% endlist %}