Editing Celery

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
[[wikipedia:celery (software)]] is an open source [[asynchronous task queue]] or job queue which is based on distributed message passing.
 
[[wikipedia:celery (software)]] is an open source [[asynchronous task queue]] or job queue which is based on distributed message passing.
 
* Installation: <code>[[pip3 install celery]]</code>
 
* Supported backend and [[Broker]]s: [[RabbitMQ]], [[Redis]], [[Zookeeper]], [[Amazon SQS]], [[SQLAlchemy]]
 
  
  
== Commands ==
+
<pre>
* <code>[[celery --help]]</code>
+
celery
* <code>[[celery list]]</code>
+
usage: celery <command> [options]
* <code>[[celery status]]</code>
+
 
* <code>[[celery control]]</code>
+
Show help screen and exit.
* <code>[[celery shell]]</code>
+
 
* <code>[[celery worker]]</code>
+
positional arguments:
* <code>[[celery -A]]</code>
+
  args
 +
 
 +
optional arguments:
 +
  -h, --help            show this help message and exit
 +
  --version            show program's version number and exit
 +
 
 +
Global Options:
 +
  -A APP, --app APP
 +
  -b BROKER, --broker BROKER
 +
  --result-backend RESULT_BACKEND
 +
  --loader LOADER
 +
  --config CONFIG
 +
  --workdir WORKDIR
 +
  --no-color, -C
 +
  --quiet, -q
 +
 
 +
---- -- - - ---- Commands- -------------- --- ------------
 +
 
 +
+ Main:
 +
|    celery worker
 +
|    celery events
 +
|    celery beat
 +
|    celery shell
 +
|    celery multi
 +
|    celery amqp
 +
 
 +
+ Remote Control:
 +
|    celery status
 +
 
 +
|    celery inspect --help
 +
|    celery inspect active
 +
|    celery inspect active_queues
 +
|    celery inspect clock
 +
|    celery inspect conf [include_defaults=False]
 +
|    celery inspect memdump [n_samples=10]
 +
|    celery inspect memsample
 +
|    celery inspect objgraph [object_type=Request] [num=200 [max_depth=10]]
 +
|    celery inspect ping
 +
|    celery inspect query_task [id1 [id2 [... [idN]]]]
 +
|    celery inspect registered [attr1 [attr2 [... [attrN]]]]
 +
|    celery inspect report
 +
|    celery inspect reserved
 +
|    celery inspect revoked
 +
|    celery inspect scheduled
 +
|    celery inspect stats
 +
 
 +
|    celery control --help
 +
|    celery control add_consumer <queue> [exchange [type [routing_key]]]
 +
|    celery control autoscale [max [min]]
 +
|    celery control cancel_consumer <queue>
 +
|    celery control disable_events
 +
|    celery control election
 +
|    celery control enable_events
 +
|    celery control heartbeat
 +
|    celery control pool_grow [N=1]
 +
|    celery control pool_restart
 +
|    celery control pool_shrink [N=1]
 +
|    celery control rate_limit <task_name> <rate_limit (e.g., 5/s | 5/m | 5/h)>
 +
|    celery control revoke [id1 [id2 [... [idN]]]]
 +
|    celery control shutdown
 +
|    celery control terminate <signal> [id1 [id2 [... [idN]]]]
 +
|    celery control time_limit <task_name> <soft_secs> [hard_secs]
 +
 
 +
+ Utils:
 +
|    celery purge
 +
|    celery list
 +
|    celery call
 +
|    celery result
 +
|    celery migrate
 +
|    celery graph
 +
|    celery upgrade
 +
 
 +
+ Debugging:
 +
|    celery report
 +
|    celery logtool
 +
---- -- - - --------- -- - -------------- --- ------------
 +
 
 +
Type 'celery <command> --help' for help using a specific command.
 +
</pre>
 +
 
  
== Related terms ==
 
* [[Flower]] - Celery monitoring tool<ref>https://flower.readthedocs.io/en/latest/#flower-celery-monitoring-tool</ref>
 
* <code>django-celery</code> provides Celery integration for [[Django]]
 
* <code>[[WorkerLostError: Worker exited prematurely: signal 9 (SIGKILL)]]</code>
 
* [[Apache Airflow]], [[Apache Airflow providers]]: https://airflow.apache.org/docs/apache-airflow/stable/executor/celery.html
 
* [[Celery Director]]
 
* [[Kombu]]
 
* [[Jobs]]
 
* <code>[[airflow celery]]</code>
 
* [[Celery Executor]]
 
* [[Celery Broker]]
 
  
 
== See also ==
 
== See also ==
* {{Celery}}
+
* {{Python}}
* {{Django}}
+
 
  
 
[[Category:Python]]
 
[[Category:Python]]
[[Category:Celery]]
 

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Templates used on this page:

Advertising: