From 3a0c68bf5c0cd84b225fcbe32fd2cba12e5217f0 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Wed, 24 Mar 2021 22:42:04 +1100 Subject: [PATCH] Add invoke task to start background worker --- tasks.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tasks.py b/tasks.py index 179d73546a..2d7d395d10 100644 --- a/tasks.py +++ b/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):