Files
django-q2/django_q/management/commands/qcluster.py
T
Ilan Steemers 90b5b0d6ab moved static methods to module functions
medic is now sentinel and runs in it's own process
sentinel shutdown procedure more stable
2015-06-18 14:10:48 +02:00

12 lines
239 B
Python

from django.core.management.base import BaseCommand
from django_q import Cluster
class Command(BaseCommand):
help = "My shiny new management command."
def handle(self, *args, **options):
q = Cluster()
q.start()