mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-05 03:18:12 +08:00
- changed to single monitor for success and failures - result is now in django model - started addings tests
10 lines
223 B
Python
10 lines
223 B
Python
from django.core.management.base import BaseCommand
|
|
from django_q.apps import Worker
|
|
|
|
|
|
class Command(BaseCommand):
|
|
help = "My shiny new management command."
|
|
|
|
def handle(self, *args, **options):
|
|
q = Worker()
|