---
title: kapacitor enable
description: The kapacitor enable command enables and starts a task.
url: https://docs.influxdata.com/kapacitor/v1/reference/cli/kapacitor/enable/
estimated_tokens: 137
product: Kapacitor
version: v1
publisher: InfluxData
canonical: https://docs.influxdata.com/kapacitor/v1/reference/cli/kapacitor/enable/
date: '2023-10-03T10:49:57-06:00'
lastmod: '2023-10-03T10:49:57-06:00'
---

The `kapacitor enable` command enables and starts a task.

## Usage

```sh
kapacitor enable <task-id-or-pattern>
```

## Arguments

* **task-id-or-pattern**: Task ID or glob pattern to match task IDs to enable.

## Examples

* [Enable a specific task](#enable-a-specific-task)
* [Enable all tasks with IDs that match a glob pattern](#enable-all-tasks-with-ids-that-match-a-glob-pattern)

### Enable a specific task

```sh
kapacitor enable cpu_alert
```

### Enable all tasks with IDs that match a glob pattern

```sh
kapacitor enable *_alert
```
