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

# Overview

> Configuring and scheduling background tasks

Ghostwriter uses the [Django Q project](https://django-q.readthedocs.io/en/latest/) for queuing and managing background tasks. Django Q hands off tasks to the Redis server (already installed and running in Docker).

Tasks are Python functions, usually defined in a `tasks.py` module. Ghostwriter executes some tasks on demand from the application. Only functions approved by the server-side Django Q policy can be added to a schedule in the admin panel.

Tasks can be queued in a few different ways:

* Schedule tasks to execute in the future and on a recurring schedule with Django Q.

* Use the buttons (various) in Ghostwriter's web interface.

* Use a REST API endpoint (not yet available).
