This document is for Celery's development version, which can be significantly different from previous releases. Get old docs here: 2.5.
Fully qualified name of the app instance to use.
Broker URL. Default is ‘amqp://guest:guest@localhost:5672//’
Name of the loader class to use. Taken from the environment variable CELERY_LOADER or ‘default’ if that is not set.
Name of the module to read configuration from, default is ‘celeryconfig’.
Path to log file. If no logfile is specified, stderr is used.
Optional file used to store the process pid.
The program will not start if this file already exists and the pid is still alive.
User id, or user name of the user to run as after detaching.
Group id, or group name of the main group to change to after detaching.
Effective umask of the process after detaching. Default is 0.
Optional directory to change to after detaching.
Base class for command line applications.
| Parameters: |
|
|---|
alias of OptionParser
Arg list used in help.
Enable if the application should support config from the cmdline.
Execute application from command line.
| Parameters: | argv – The list of command line arguments. Defaults to sys.argv. |
|---|
Get supported command line options.
Parses command line arguments from argv and dispatches to run().
| Parameters: |
|
|---|
Exits with an error message if supports_args is disabled and argv contains positional arguments.
Default configuration namespace.
List of options (without preload options).
Parse the available options.
List of options to parse before parsing other options.
Optional handler to do additional processing of preload options.
Configuration must not have been initialized until after this is called.
This is the body of the command called by handle_argv().
If false the parser will raise an exception if positional args are provided.
Returns the command-line usage string for this app.
Application version.