mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-22 23:00:54 +00:00
Add invoke task to start background worker
This commit is contained in:
7
tasks.py
7
tasks.py
@ -111,6 +111,13 @@ def shell(c):
|
||||
|
||||
manage(c, 'shell', pty=True)
|
||||
|
||||
@task
|
||||
def worker(c):
|
||||
"""
|
||||
Run the InvenTree background worker process
|
||||
"""
|
||||
|
||||
manage(c, 'qcluster', pty=True)
|
||||
|
||||
@task
|
||||
def superuser(c):
|
||||
|
Reference in New Issue
Block a user