Add invoke task to start background worker

This commit is contained in:
Oliver Walters 2021-03-24 22:42:04 +11:00
parent df0ab2359f
commit 3a0c68bf5c

View File

@ -111,6 +111,13 @@ def shell(c):
manage(c, 'shell', pty=True) manage(c, 'shell', pty=True)
@task
def worker(c):
"""
Run the InvenTree background worker process
"""
manage(c, 'qcluster', pty=True)
@task @task
def superuser(c): def superuser(c):