&dhucpackage; &dhsection;

&dhpackage;

Celery Worker Daemon

                &dhpackage;
                command

                -A/--app=APP
                -b/--broker=BROKER
                --loader=LOADER
                --config=CONFIG
                --workdir=WORKING_DIRECTORY
                -q/--quiet
                -C/--no-color
                --version
                --help

## DESCRIPTION

This manual page documents briefly the `&dhpackage;` command.

This manual page was written for the &debian; distribution because the original program does not have a manual page.

`&dhpackage;` is a program that manages the Celery Worker Daemons and their queues.

## COMMANDS

All inspect commands supports a --timeout argument, This is the number of seconds to wait for responses. You may have to increase this timeout if you’re not getting a response due to latency.

shell

- Drop into a Python shell. The locals will include the celery variable, which is the current app. Also all known tasks will be automatically added to locals (unless the --without-tasks flag is set). Uses Ipython, bpython, or regular python in that order if installed. You can force an implementation using --force-ipython|-I, --force-bpython|-B, or --force-python|-P.

status

- List active nodes in this cluster.

result `-t `task name`` `uuid`

- Show the result of a task. Note that you can omit the name of the task as long as the task doesn’t use a custom result backend.

purge

- Purge messages from all configured task queues. Warning: There is no undo for this operation, and messages will be permanently deleted!

inspect active

- List active tasks. These are all the tasks that are currently being executed.

inspect scheduled

- List scheduled ETA tasks. These are tasks reserved by the worker because they have the eta or countdown argument set.

inspect reserved

- List reserved tasks. This will list all tasks that have been prefetched by the worker, and is currently waiting to be executed (does not include tasks with an eta).

inspect revoked

- List history of revoked tasks.

inspect registered

- List registered tasks.

inspect stats

- Show worker statistics.

control enable_events

- Enable events.

control disable_events

- Disable events.

migrate `from` `to`

- Migrate tasks from one broker to another (EXPERIMENTAL). This command will migrate all the tasks on one broker to another. As this command is new and experimental you should be sure to have a backup of the data before proceeding. The value for each broker should be a URL.

## OPTIONS

This program follows the usual &gnu; command line syntax, with long options starting with two dashes (`-'). A summary of options is included below.

`-A `APP`` `--app=`APP``

- App instance to use (e.g. module.attr_name).

`-b `BROKER`` `--broker=`BROKER``

- URL to the broker. Default is 'amqp://guest@localhost//'.

`--loader=`LOADER``

- name of custom loader class to use.

`--config=`CONFIG``

- Name of the configuration module.

`--workdir=`WORKING_DIRECTORY``

- Optional directory to change to after detaching.

`--quiet`

`-C` `--no-color`

`--version`

- Show program's version number and exit.

`-h` `--help`

- Show help message and exit.

## SEE ALSO

celeryd(1), celerybeat (1), celeryctl (1).

## AUTHOR

This manual page was written by &dhusername; &dhemail; for the &debian; system (and may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the &gnu; General Public License, Version 2 any later version published by the Free Software Foundation.

On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.

manpage.1'. You may view the manual page with: `docbook-to-man manpage.sgml | nroff -man | less'. A typical entry in a Makefile or Makefile.am is: manpage.1: manpage.sgml docbook-to-man $< > $@ The docbook-to-man binary is found in the docbook-to-man package. Please remember that if you create the nroff version in one of the debian/rules file targets (such as build), you will need to include docbook-to-man in your Build-Depends control field. --> Michael"> Fladischer"> 12 July 2013"> 1"> FladischerMichael@fladi.at"> CELERY"> Debian"> GNU"> GPL"> ]>
&dhucpackage; &dhsection;

&dhpackage;

Celery Worker Daemon

                &dhpackage;
                command

                -A/--app=APP
                -b/--broker=BROKER
                --loader=LOADER
                --config=CONFIG
                --workdir=WORKING_DIRECTORY
                -q/--quiet
                -C/--no-color
                --version
                --help

## DESCRIPTION

This manual page documents briefly the `&dhpackage;` command.

This manual page was written for the &debian; distribution because the original program does not have a manual page.

`&dhpackage;` is a program that manages the Celery Worker Daemons and their queues.

## COMMANDS

All inspect commands supports a --timeout argument, This is the number of seconds to wait for responses. You may have to increase this timeout if you’re not getting a response due to latency.

shell

- Drop into a Python shell. The locals will include the celery variable, which is the current app. Also all known tasks will be automatically added to locals (unless the --without-tasks flag is set). Uses Ipython, bpython, or regular python in that order if installed. You can force an implementation using --force-ipython|-I, --force-bpython|-B, or --force-python|-P.

status

- List active nodes in this cluster.

result `-t `task name`` `uuid`

- Show the result of a task. Note that you can omit the name of the task as long as the task doesn’t use a custom result backend.

purge

- Purge messages from all configured task queues. Warning: There is no undo for this operation, and messages will be permanently deleted!

inspect active

- List active tasks. These are all the tasks that are currently being executed.

inspect scheduled

- List scheduled ETA tasks. These are tasks reserved by the worker because they have the eta or countdown argument set.

inspect reserved

- List reserved tasks. This will list all tasks that have been prefetched by the worker, and is currently waiting to be executed (does not include tasks with an eta).

inspect revoked

- List history of revoked tasks.

inspect registered

- List registered tasks.

inspect stats

- Show worker statistics.

control enable_events

- Enable events.

control disable_events

- Disable events.

migrate `from` `to`

- Migrate tasks from one broker to another (EXPERIMENTAL). This command will migrate all the tasks on one broker to another. As this command is new and experimental you should be sure to have a backup of the data before proceeding. The value for each broker should be a URL.

## OPTIONS

This program follows the usual &gnu; command line syntax, with long options starting with two dashes (`-'). A summary of options is included below.

`-A `APP`` `--app=`APP``

- App instance to use (e.g. module.attr_name).

`-b `BROKER`` `--broker=`BROKER``

- URL to the broker. Default is 'amqp://guest@localhost//'.

`--loader=`LOADER``

- name of custom loader class to use.

`--config=`CONFIG``

- Name of the configuration module.

`--workdir=`WORKING_DIRECTORY``

- Optional directory to change to after detaching.

`--quiet`

`-C` `--no-color`

`--version`

- Show program's version number and exit.

`-h` `--help`

- Show help message and exit.

## SEE ALSO

celeryd(1), celerybeat (1), celeryctl (1).

## AUTHOR

This manual page was written by &dhusername; &dhemail; for the &debian; system (and may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the &gnu; General Public License, Version 2 any later version published by the Free Software Foundation.

On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.