> ## Documentation Index
> Fetch the complete documentation index at: https://upstash.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# upstash_qstash_schedule

> Create and manage QStash schedules.

```hcl example.tf theme={"system"}
resource "upstash_qstash_schedule" "exampleQStashSchedule" {
  destination = resource.upstash_qstash_topic.exampleQstashTopic.topic_id
  cron        = "* * * * */2"

  # or simply provide a link
  # destination = "https://***.***"
}
```

## Schema

### Required

**cron** `string` *required*

Cron string for QStash Schedule

**destination** `string` *required*

Destination for QStash Schedule. Either Topic ID or valid URL

### Optional

**body** `string`

Body to send for the POST request in string format. Needs escaping () double
quotes.

**callback** `string`

Callback URL for QStash Schedule.

**content\_based\_deduplication** `bool`

Content based deduplication for QStash Scheduling.

**content\_type** `string`

Content type for QStash Scheduling.

**deduplicatoin\_id** `string`

Deduplication ID for QStash Scheduling.

**delay** `string`

Delay for QStash Schedule.

**forward\_headers** `map(string)`

Forward headers to your API

**not\_before** `number`

Start time for QStash Scheduling.

**retries** `number`

Retries for QStash Schedule requests.

### Read-Only

**created\_at** `number`

Creation time for QStash Schedule.

**id** `string`

The ID of this resource.

**schedule\_id** `string`

Unique QStash Schedule ID for requested schedule


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.