Skip to main content
Ghostwriter uses the Django Q project 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).