> For the complete documentation index, see [llms.txt](https://docs.quadratichq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.quadratichq.com/spreadsheet/scheduled-tasks.md).

# Scheduled tasks

Quadratic scheduled tasks allow you to set specific timeframes for your sheet to run automatically. Cloud runners execute your code automatically without needing your intervention.&#x20;

### Accessing scheduled tasks&#x20;

Access scheduled tasks from the sidebar

<figure><img src="/files/jRBjSb3NfiONJvoEOK1m" alt=""><figcaption></figcaption></figure>

### Schedule your task&#x20;

#### Task types: Run file, Run sheet, Run selection&#x20;

**Run file:** executes everything in the entire spreadsheet.&#x20;

**Run sheet:** only executes a single selected sheet.&#x20;

**Run selection:** only executes a selection in a single sheet.&#x20;

### Intervals: hourly, daily, custom cron&#x20;

Set hourly, daily or custom cron timeframes.&#x20;

Cron examples:&#x20;

| Cron expression | Translation                        |
| --------------- | ---------------------------------- |
| 0 0 \* \* \*    | Every day at 12:00 AM              |
| 0 0 \* \* FRI   | At 12:00 AM, only on Friday        |
| 0 0 1 \* \*     | At 12:00 AM, on day 1 of the month |
| 0 \* \* \* \*   | Every hour                         |

<figure><img src="/files/frjUhw4ulyjnXEA98w3v" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.quadratichq.com/spreadsheet/scheduled-tasks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
