2
0
mirror of https://github.com/inventree/inventree-docs.git synced 2025-07-14 01:21:23 +00:00
Files
.github
_includes
ci
docs
app
assets
build
buy
extend
javascripts
part
releases
report
sell
settings
MFA.md
SSO.md
admin.md
email.md
export.md
global.md
import.md
logs.md
permissions.md
tasks.md
user.md
start
stock
stylesheets
webfonts
contribute.md
credits.md
demo.md
faq.md
features.md
hooks.py
index.md
privacy.md
terminology.md
.gitignore
LICENSE
README.md
main.py
mkdocs.yml
readthedocs.yml
requirements.txt
inventree-docs/docs/settings/tasks.md

942 B

title
title
Background Tasks

Background Tasks

In addition to managing the database and providing a web interface, InvenTree runs various background tasks;

Blocking Operations

Some tasks (such as sending emails or performing bulk database actions) may take a significant amount of time. Instead of delaying the response to the user, these tasks are handled by the background task manager.

Periodic Tasks

Some tasks must be performed on a regular, periodic basis.

Django Q

InvenTree uses the django-q background task manager.

Running Worker

The Django Q work must run separately to the web server. This is started as a separate process, as part of the InvenTree installation instructions.

If the worker is not running, a warning indicator is displayed in the InvenTree menu bar.

Admin Interface

Scheduled tasks can be viewed in the InvenTree admin interface.