Exemplo n.º 1
0
 def handle(self, app, prog, name, remaining_args):
     from celery.bin.camqadm import AMQPAdminCommand
     return AMQPAdminCommand(app=current_celery()).run(*remaining_args)
Exemplo n.º 2
0
 def mon(self):
     from celerymon.bin.celerymon import MonitorCommand
     return MonitorCommand(app=current_celery())
Exemplo n.º 3
0
 def ev(self):
     from celery.bin.celeryev import EvCommand
     return EvCommand(app=current_celery())
Exemplo n.º 4
0
 def handle(self, app, prog, name, remaining_args):
     if not remaining_args:
         remaining_args = ["help"]
     from celery.bin.celeryctl import celeryctl as ctl
     ctl(current_celery()).execute_from_commandline(
             ["%s celeryctl" % prog] + remaining_args)
Exemplo n.º 5
0
 def worker(self):
     from celery.bin.celeryd import WorkerCommand
     return WorkerCommand(app=current_celery())
Exemplo n.º 6
0
 def beat(self):
     from celery.bin.celerybeat import BeatCommand
     return BeatCommand(app=current_celery())
Exemplo n.º 7
0
 def handle(self, app, prog, name, remaining_args):
     from celery.bin.camqadm import AMQPAdminCommand
     return AMQPAdminCommand(app=current_celery()).run(*remaining_args)
Exemplo n.º 8
0
 def handle(self, app, prog, name, remaining_args):
     if not remaining_args:
         remaining_args = ["help"]
     from celery.bin.celeryctl import celeryctl as ctl
     ctl(current_celery()).execute_from_commandline(
             ["%s celeryctl" % prog] + remaining_args)
Exemplo n.º 9
0
 def ev(self):
     from celery.bin.celeryev import EvCommand
     return EvCommand(app=current_celery())
Exemplo n.º 10
0
 def beat(self):
     from celery.bin.celerybeat import BeatCommand
     return BeatCommand(app=current_celery())
Exemplo n.º 11
0
 def worker(self):
     from celery.bin.celeryd import WorkerCommand
     return WorkerCommand(app=current_celery())