This document describes the current stable version of Celery (4.2). For development docs, go here.
celery.bin.call
¶
The celery call
program used to send tasks from the command-line.
-
class
celery.bin.call.
call
(app=None, get_app=None, no_color=False, stdout=None, stderr=None, quiet=False, on_error=None, on_usage_error=None)[source]¶ Call a task by name.
Examples
$ celery call tasks.add --args='[2, 2]' $ celery call tasks.add --args='[2, 2]' --countdown=10
-
args
= u'<task_name>'¶
-
args_name
= u'posargs'¶
-