This document describes the current stable version of Celery (5.0). For development docs, go here.

celery.bin.worker

Program used to start a Celery worker instance.

class celery.bin.worker.Autoscale[source]

Autoscaling parameter.

convert(value, param, ctx)[source]

Converts the value. This is not invoked for values that are None (the missing value).

name = '<min workers>, <max workers>'
class celery.bin.worker.CeleryBeat[source]

Celery Beat flag.

convert(value, param, ctx)[source]

Converts the value. This is not invoked for values that are None (the missing value).

name = 'beat'
class celery.bin.worker.Hostname[source]

Hostname option.

convert(value, param, ctx)[source]

Converts the value. This is not invoked for values that are None (the missing value).

name = 'hostname'
class celery.bin.worker.WorkersPool[source]

Workers pool option.

convert(value, param, ctx)[source]

Converts the value. This is not invoked for values that are None (the missing value).

name = 'pool'
celery.bin.worker.detach(path, argv, logfile=None, pidfile=None, uid=None, gid=None, umask=None, workdir=None, fake=False, app=None, executable=None, hostname=None)[source]

Detach program by argv.