> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/cloud-cost-management/3.0/cost-governance/asset-governance/schedules.md). Agents can also search and read this documentation through its [MCP server](https://developer.harness.io/~gitbook/mcp).

# Schedules

Run policies on a schedule, and review schedules the FinOps agent suggests

A schedule runs policies or policy sets against target accounts and regions on a cadence. Use a schedule when the policy should run hourly, daily, or weekly without a manual run.

Each schedule can have up to 10,000 policy runs. The cap is `Policies × Accounts × Regions`. It replaces the earlier separate limits on policies, policy sets, accounts, and regions.

## Before you begin

* Make sure you have the policies or the policy set you want to run. Navigate to [Create a policy](https://developer.harness.io/cloud-cost-management/3.0/cost-governance/asset-governance/create-a-policy.md) to add a policy.
* Verify you have permission for every policy and target account you include. Navigate to [Create a policy](https://developer.harness.io/cloud-cost-management/3.0/cost-governance/asset-governance/create-a-policy.md#access-to-policies) to restrict who can run a policy.

## Create a schedule

The **Create a new schedule** wizard has three steps.

### Step 1: Schedule basics

To set the schedule basics:

1. On the **Schedules** tab, click **New schedule**.
2. In **Create a new schedule**, on **Schedule basics**, enter a **Name**.
3. (Optional) Enter a **Description**.
4. Select a **Cloud provider**: **AWS**, **Azure**, or **GCP**.
5. Click **Next: policies and policy sets**.

### Step 2: Policies and policy sets

To select the policies to run:

1. On the **Policies and policy sets** tab, select **All policies** or **All policy sets**, then select at least one row.
   * The list columns are **Name** and **Last modified**.
   * **Selected policies** shows the count.
   * The step stays on this page and shows `Select at least 1 policy or policy set` until you select one.
2. Click **Next: targets and schedule**.

### Step 3: Targets and schedule

To set the targets and frequency:

1. On the **Targets and schedule** tab, select **Target Accounts** and **Target regions**.
2. Select **Specify frequency**: **Hourly**, **Daily**, or **Weekly**.
3. For **Daily**, set **Specify time** and the time zone. For **Weekly**, set **Specify day and time**: the days (S, M, T, W, T, F, S), the time, and the time zone. **Hourly** has no time field.
4. (Optional) Enable **Enforce policies in dry run mode**. Dry run mode generates a simulation of the schedule instead of performing the actions.
5. Click **Save**.

![The Create a new schedule form, step 3, with Enforce policies in dry run mode, Target Accounts, Target regions, and Specify frequency](https://3362046280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLgkNK1xq1Uj6rzIm2kum%2Fuploads%2Fgit-blob-34c1fd5d060f4816cb8e8bc3ef7b0ed0e2b32934%2Fasset-governance-schedule-step3.png?alt=media)

You can also start the wizard from a policy. On the policy page, click **Add schedule**. The wizard opens on step 3 with that policy selected.

When you edit a schedule, the cloud provider cannot be changed. Create a new schedule to use a different cloud provider.

Navigate to the [Terraform registry](https://registry.terraform.io/providers/harness/harness/latest/docs/resources/governance_rule_enforcement) to manage schedules with Terraform.

## Schedules list

The list columns are:

* **Name**
* **Schedule**
* **Monthly savings**
* **Last modified**
* **Mode**
* **Status**

**Name** includes the policy count, or the policy set count and the policy count, for example `1 policy set - 4 policies`. **Mode** is **Dry run** or **Live**. **Status** is a toggle, **Enabled** or **Disabled**. Disable the toggle to stop the schedule. To leave dry run mode, select **Edit** from the row menu, open **Targets and schedule**, disable **Enforce policies in dry run mode**, and click **Save**.

Filter the list with **Search**, **Add filter** (**AWS accounts**, **Azure subscription**, **GCP project**), **Policies**, **Status** (**Enabled**, **Disabled**), and **Dry run** (**Dry run only**, **Exclude dry run**). Click **Reset** to clear the filters.

On the row menu, select **Edit**, **Delete**, or **Run schedule**.

## Schedule details

Open a schedule to read the following:

* **Status**
* **Mode**
* **Schedule**
* **Created**
* **Last modified**
* **Policies**
* **Last run**
* **Resources impacted on last run**
* **Monthly savings (all-time)**

**Policies in this schedule** lists each policy. A policy that comes from a policy set is marked with the set name. **Target scope** lists **Accounts** and **Regions**. **Recent policy runs** lists the latest runs. Select **View all policy runs** to open the full list.

Click **Edit schedule** to change the schedule. Click **Run now** to run it once. **Show more actions** includes **Delete**.

## FinOps agent suggested schedules

The FinOps agent analyzes cloud usage and suggests schedules. Each suggestion is a draft. The **Overview** card **FinOps agent** opens this panel. Select **Review** on that card.

The panel title is **FinOps agent suggested schedules**, with the count. The text under the title is "Suggestions are tailored to each account's service usage and spending history." The columns are **Name**, **Policies**, **Target accounts**, **Target regions**, and **Mode**.

To review one suggestion, open it. The details page shows the badge **FinOps agent suggested schedules** and **Draft schedule**. **Show more actions** includes **Accept schedule** and **Dismiss**. You can also click **Edit schedule** or **Run now**.

Select the checkbox on one or more rows to act on several suggestions. The panel shows **Selected (n)** with **Accept schedule** and **Dismiss**.

On a single row, the row menu includes **Edit**, **Dismiss**, and **Run schedule**. The row also has **Accept suggested schedule**.

Accepting a suggestion schedules it against the accounts on the draft. Policy runs from accepted suggestions appear on the **Policy runs** tab with the runs from schedules you created. Accepted suggestions remain on the **Schedules** list.

![The FinOps agent suggested schedules list, with the checkbox column and the row actions for each suggestion](https://3362046280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLgkNK1xq1Uj6rzIm2kum%2Fuploads%2Fgit-blob-33cac9c59c666446d40e78423cbbe60e68afc3e0%2Fasset-governance-finops-suggestions.png?alt=media)

{% @harness-feedback/feedback %}
