This document describes an older version of Celery (2.1).
For the latest stable version please
go here.
celeryctl - celery.bin.celeryctl
-
class celery.bin.celeryctl.Command(no_color=False)
-
args = ''
-
create_parser(prog_name, command)
-
error(s)
-
help = ''
-
option_list = (<Option at 0x7378680: -q/--quiet>, <Option at 0x7378638: --conf>, <Option at 0x73785f0: --loader>, <Option at 0x73785a8: -C/--no-color>)
-
out(s, fh=<open file '<stdout>', mode 'w' at 0x7f703cf9d150>)
-
prettify(n)
-
prettify_dict_ok_error(n)
-
prettify_list(n)
-
run(*args, **kwargs)
-
run_from_argv(argv)
-
usage(command)
-
version = '2.1.4'
-
exception celery.bin.celeryctl.Error
-
class celery.bin.celeryctl.apply(no_color=False)
-
args = '<task_name>'
-
option_list = (<Option at 0x7378680: -q/--quiet>, <Option at 0x7378638: --conf>, <Option at 0x73785f0: --loader>, <Option at 0x73785a8: -C/--no-color>, <Option at 0x73784d0: -a/--args>, <Option at 0x7378488: -k/--kwargs>, <Option at 0x7378440: --eta>, <Option at 0x73783f8: --countdown>, <Option at 0x73783b0: --expires>, <Option at 0x7378368: --serializer>, <Option at 0x7378320: --queue>, <Option at 0x73782d8: --exchange>, <Option at 0x7378290: --routing-key>)
-
run(name, *_, **kw)
-
class celery.bin.celeryctl.celeryctl
-
commands = {'status': <class 'celery.bin.celeryctl.status'>, 'apply': <class 'celery.bin.celeryctl.apply'>, 'inspect': <class 'celery.bin.celeryctl.inspect'>, 'result': <class 'celery.bin.celeryctl.result'>, 'help': <class 'celery.bin.celeryctl.help'>}
-
execute(command, argv=None)
-
execute_from_commandline(argv=None)
-
celery.bin.celeryctl.command(fun)
-
class celery.bin.celeryctl.help(no_color=False)
-
run(*args, **kwargs)
-
usage(command)
-
celery.bin.celeryctl.indent(s, n=4)
-
class celery.bin.celeryctl.inspect(no_color=False)
-
choices = {'scheduled': 1.0, 'reserved': 1.0, 'cancel_consumer': 1.0, 'active': 1.0, 'add_consumer': 1.0, 'stats': 1.0, 'revoked': 1.0, 'enable_events': 1.0, 'ping': 0.2, 'disable_events': 1.0, 'registered_tasks': 1.0}
-
option_list = (<Option at 0x7378680: -q/--quiet>, <Option at 0x7378638: --conf>, <Option at 0x73785f0: --loader>, <Option at 0x73785a8: -C/--no-color>, <Option at 0x7378200: -t/--timeout>, <Option at 0x73781b8: -d/--destination>)
-
run(*args, **kwargs)
-
say(direction, title, body='')
-
usage(command)
-
celery.bin.celeryctl.main()
-
class celery.bin.celeryctl.result(no_color=False)
-
args = '<task_id>'
-
option_list = (<Option at 0x7378680: -q/--quiet>, <Option at 0x7378638: --conf>, <Option at 0x73785f0: --loader>, <Option at 0x73785a8: -C/--no-color>, <Option at 0x7378248: -t/--task>)
-
run(task_id, *args, **kwargs)
-
class celery.bin.celeryctl.status(no_color=False)
-
option_list = (<Option at 0x7378680: -q/--quiet>, <Option at 0x7378638: --conf>, <Option at 0x73785f0: --loader>, <Option at 0x73785a8: -C/--no-color>, <Option at 0x7378200: -t/--timeout>, <Option at 0x73781b8: -d/--destination>)
-
run(*args, **kwargs)