# Cron tasks

Cron tasks can be enabled in `Options -> Scheduled tasks (cron)`&#x20;

The settings panel will provide you with the URL that you must use to execute it, as well as settings to decide which tasks will run.

There's also a security key that must be provided with the URL for validation and can be changed here as well.

Current tasks include:

* Send pending email notifications
* Delete expired files
* Delete [orphan files](/about/how-to-use/files/orphan-files.md)


---

# 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://docs.projectsend.org/about/how-to-use/cron-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.
