Ejemplo n.º 1
0
 def handle(self, addrport="", *args, **options):
     """Handle the management command."""
     server = WebserverThread(addrport, *args, **options)
     server.start()
     options["camera"] = "djcelery.snapshot.Camera"
     options["prog_name"] = "djcelerymon"
     run_celeryev(*args, **options)
Ejemplo n.º 2
0
 def handle(self, addrport="", *args, **options):
     """Handle the management command."""
     server = WebserverThread(addrport, *args, **options)
     server.start()
     options["camera"] = "djcelery.snapshot.Camera"
     options["prog_name"] = "djcelerymon"
     run_celeryev(*args, **options)
Ejemplo n.º 3
0
 def handle(self, *args, **options):
     """Handle the management command."""
     options["camera"] = "djcelery.snapshot.Camera"
     run_celeryev(*args, **options)
Ejemplo n.º 4
0
 def run(self, **kwargs):
     celery = Celery(current_app)
     from celery.bin.celeryev import run_celeryev
     run_celeryev(**kwargs)
 def handle(self, *args, **options):
     """Handle the management command."""
     run_celeryev(*args, **options)