Celery 2.4 Documentationfunction returns. Deprecated Use with app.default_connection(connection) instead. mail_admins(subject, body, fail_silently=False) Send an email to the admins in the ADMINS setting. prepare_config(c) task error e-mails should be sent. Parameters task – The task instance that raised the error. subject and body are format strings which are passed a context containing the following keys: •name Name task error e-mails should be sent. Parameters task – The task instance that raised the error. subject and body are format strings which are passed a context containing the following keys: •name Name0 码力 | 395 页 | 1.54 MB | 1 年前3
Celery 2.4 Documentationfunction returns. Deprecated Use with app.default_connection(connection) instead. mail_admins(subject, body, fail_silently=False) Send an email to the admins in the ADMINS setting. prepare_config(c) task error e-mails should be sent. Parameters: task – The task instance that raised the error. subject and body are format strings which are passed a context containing the following keys: name Name task error e-mails should be sent. Parameters: task – The task instance that raised the error. subject and body are format strings which are passed a context containing the following keys: name Name0 码力 | 543 页 | 957.42 KB | 1 年前3
Celery 2.5 Documentationfunction returns. Deprecated Use with app.default_connection(connection) instead. mail_admins(subject, body, fail_silently=False) Send an email to the admins in the ADMINS setting. prepare_config(c) task error e-mails should be sent. Parameters: task – The task instance that raised the error. subject and body are format strings which are passed a context containing the following keys: name Name task error e-mails should be sent. Parameters: task – The task instance that raised the error. subject and body are format strings which are passed a context containing the following keys: name Name0 码力 | 647 页 | 1011.88 KB | 1 年前3
Celery 2.5 Documentationfunction returns. Deprecated Use with app.default_connection(connection) instead. mail_admins(subject, body, fail_silently=False) Send an email to the admins in the ADMINS setting. prepare_config(c) task error e-mails should be sent. Parameters task – The task instance that raised the error. subject and body are format strings which are passed a context containing the following keys: •name Name task error e-mails should be sent. Parameters task – The task instance that raised the error. subject and body are format strings which are passed a context containing the following keys: •name Name0 码力 | 400 页 | 1.40 MB | 1 年前3
Celery 3.1 DocumentationCopyright © 2009-2015, Ask Solem. All rights reserved. This material may be copied or distributed only subject to the terms and conditions set forth in the Creative Commons Attribution-ShareAlike 4.0 International producer – If not provided, then a producer will be acquired from the producer pool. mail_admins(subject, body, fail_silently=False) Sends an email to the admins in the ADMINS setting. select_queues(queues=[]) task error e-mails should be sent. Parameters task – The task instance that raised the error. subject and body are format strings which are passed a context containing the following keys: • name Name0 码力 | 607 页 | 2.27 MB | 1 年前3
Celery 3.1 DocumentationCopyright © 2009-2015, Ask Solem. All rights reserved. This material may be copied or distributed only subject to the terms and conditions set forth in the Creative Commons Attribution-ShareAlike 4.0 International producer – If not provided, then a producer will be acquired from the producer pool. mail_admins(subject, body, fail_silently=False) Sends an email to the admins in the ADMINS setting. select_queues(queues=[]) task error e-mails should be sent. Parameters: task – The task instance that raised the error. subject and body are format strings which are passed a context containing the following keys: name Name0 码力 | 887 页 | 1.22 MB | 1 年前3
Celery 2.1 Documentationlocated in sys.path. import_module(module) import_task_module(module) init_worker() mail_admins(subject, body, fail_silently=False) on_process_cleanup() This method is called after a task is executed kwargs, on_ack=, retries=0, delivery_info=None, hostname=None, email_subject=None, email_body=None, logger=None, eventer=None, eta=None, expires=None, **opts) A request for traceback was:\n\n%(traceback)s\n\n-- \nJust to let you know,\nceleryd at %(hostname)s.\n' email_subject = ' [celery@%(hostname)s] Error: Task %(name)s (% (id)s): %(exc)s\n ' error_msg = ' Task %(name)s[%(id)s] 0 码力 | 463 页 | 861.69 KB | 1 年前3
Celery 2.2 DocumentationAny automatically established connection will be closed after the function returns. mail_admins(subject, body, fail_silently=False) Send an e-mail to the admins in the ADMINS setting. prepare_config(c) imp=None) import_module(module) import_task_module(module) init_worker() mail mail_admins(subject, body, fail_silently=False, sender=None, to=None, host=None, port=None, user=None, password=None kwargs, on_ack=, retries=0, delivery_info=None, hostname=None, email_subject=None, email_body=None, logger=None, eventer=None, eta=None, expires=None, app=None, taskset_id=None 0 码力 | 505 页 | 878.66 KB | 1 年前3
Celery 2.1 Documentationlocated in sys.path. import_module(module) import_task_module(module) init_worker() mail_admins(subject, body, fail_silently=False) on_process_cleanup() This method is called after a task is executed kwargs, on_ack=, retries=0, delivery_info=None, hostname=None, email_subject=None, email_body=None, logger=None, eventer=None, eta=None, expires=None, **opts) A request for traceback was:\n\n%(traceback)s\n\n– \nJust to let you know,\nceleryd at %(hostname)s.\n’ email_subject = ‘ [celery@%(hostname)s] Error: Task %(name)s (%(id)s): %(exc)s\n ‘ error_msg = ‘ Task %(name)s[%(id)s] 0 码力 | 285 页 | 1.19 MB | 1 年前3
Celery 2.3 Documentationfunction returns. Deprecated Use with app.default_connection(connection) instead. mail_admins(subject, body, fail_silently=False) Send an email to the admins in the ADMINS setting. prepare_config(c) imp=None) import_module(module) import_task_module(module) init_worker() mail mail_admins(subject, body, fail_silently=False, sender=None, to=None, host=None, port=None, user=None, password=None kwargs, on_ack=, retries=0, delivery_info=None, hostname=None, email_subject=None, email_body=None, logger=None, eventer=None, eta=None, expires=None, app=None, taskset_id=None 0 码力 | 530 页 | 900.64 KB | 1 年前3
共 49 条
- 1
- 2
- 3
- 4
- 5













