> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify-poc.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# enable_vectorizer_schedule

> Activate or resume automatic scheduling for a vectorizer

Activate or reactivate the scheduled job for a specific vectorizer.

* Allow the vectorizer to resume automatic processing of new or updated data
* Can be called with either a vectorizer name (recommended) or ID

## Samples

### Using vectorizer name

```sql theme={"dark"}
SELECT ai.enable_vectorizer_schedule('public_blog_embeddings');
```

### Using vectorizer ID

```sql theme={"dark"}
SELECT ai.enable_vectorizer_schedule(1);
```

## Arguments

`ai.enable_vectorizer_schedule` can be called in two ways:

### With vectorizer name (recommended)

| Name | Type | Default | Required | Description                                                  |
| ---- | ---- | ------- | -------- | ------------------------------------------------------------ |
| name | text | -       | ✔        | The name of the vectorizer whose schedule you want to enable |

### With vectorizer ID

| Name           | Type | Default | Required | Description                                                        |
| -------------- | ---- | ------- | -------- | ------------------------------------------------------------------ |
| vectorizer\_id | int  | -       | ✔        | The identifier of the vectorizer whose schedule you want to enable |

## Returns

`ai.enable_vectorizer_schedule` does not return a value.
