# Scheduled Reports

### Overview <a href="#overview" id="overview"></a>

You can schedule to run the project reports daily, weekly or monthly using this option. On scheduling the report, the selected report gets generated automatically on the specified date and time and the generated report is sent to the respective user through e-mail. Thus by scheduling the reports you get the data in regular intervals without manually generating it.

#### What's New

Previously, the project reports were available for download for the main branches. With **CodeScan 22.7** update, we now support generating reports manually or by scheduling them for every project branch.

To configure scheduled reports,

1. Select the CodeScan organization and choose your project.
2. Navigate to the **More** tab and choose **Project Reports** from the dropdown.<br>

   <figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FHKR9AK6jhZL52kWqR7Du%2Fimage.png?alt=media&#x26;token=d5db8ff8-95ca-4781-b7d3-fa0e378f1f87" alt=""><figcaption><p>Project Reports</p></figcaption></figure>
3. Choose **Scheduling** option as **Cron**, if not automatically selected.
4. The **Cron expression** is a string consisting five subexpressions (fields) that describe individual details of the schedule.

| Cron Value   | Allowed Values  | Allowed Special Characters |
| ------------ | --------------- | -------------------------- |
| Minutes      | 0-59            | , - \* /                   |
| Hours        | 0-23            | , - \* /                   |
| Day of month | 1-31            | , - \* /                   |
| Month        | 0-11 or JAN-DEC | , - \* /                   |
| Day of week  | 1-7 or SUN-SAT  | , - \* ? / L C #           |

5. Choose **Receive Scheduled Reports** as **Enabled**.
6. Click **Run now**.<br>

   <figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FFY1sDOI2euxNerLgTvtl%2Fimage.png?alt=media&#x26;token=1868a08b-af32-458c-9fea-636303b1cf24" alt="" width="563"><figcaption><p>Run Now</p></figcaption></figure>


---

# Agent Instructions: 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://knowledgebase.autorabit.com/product-guides/codescan/report-and-analysis/scheduled-reports.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.
