Celery v4.1.0 Documentationit by doing the following,: $ tar xvfz celery-0.0.0.tar.gz $ cd celery-0.0.0 $ python setup.py build # python setup.py install The last command must be executed as a privileged user if you aren’t currently Celery from celery.schedules import crontab app = Celery() @app.on_after_configure.connect def setup_periodic_tasks(sender, **kwargs): # Calls test('hello') every 10 seconds. sender.add_periodic_task(10 security_cert_store settings respectively. With these configured it’s also necessary to call the celery.setup_security() function. Note that this will also disable all insecure serializers so that the worker0 码力 | 714 页 | 2.63 MB | 1 年前3
Celery 4.0 Documentationit by doing the following,: $ tar xvfz celery-0.0.0.tar.gz $ cd celery-0.0.0 $ python setup.py build # python setup.py install The last command must be executed as a privileged user if you aren’t currently Celery from celery.schedules import crontab app = Celery() @app.on_after_configure.connect def setup_periodic_tasks(sender, **kwargs): # Calls test('hello') every 10 seconds. sender.add_periodic_task(10 security_cert_store settings respectively. With these configured it’s also necessary to call the celery.setup_security() function. Note that this will also disable all insecure serializers so that the worker0 码力 | 707 页 | 2.63 MB | 1 年前3
Celery v4.0.2 Documentationit by doing the following,: $ tar xvfz celery-0.0.0.tar.gz $ cd celery-0.0.0 $ python setup.py build # python setup.py install The last command must be executed as a privileged user if you aren’t currently Celery from celery.schedules import crontab app = Celery() @app.on_after_configure.connect def setup_periodic_tasks(sender, **kwargs): # Calls test('hello') every 10 seconds. sender.add_periodic_task(10 security_cert_store settings respectively. With these configured it’s also necessary to call the celery.setup_security() function. Note that this will also disable all insecure serializers so that the worker0 码力 | 707 页 | 2.63 MB | 1 年前3
Celery v4.0.1 Documentationit by doing the following,: $ tar xvfz celery-0.0.0.tar.gz $ cd celery-0.0.0 $ python setup.py build # python setup.py install The last command must be executed as a privileged user if you aren’t currently Celery from celery.schedules import crontab app = Celery() @app.on_after_configure.connect def setup_periodic_tasks(sender, **kwargs): # Calls test('hello') every 10 seconds. sender.add_periodic_task(10 security_cert_store settings respectively. With these configured it’s also necessary to call the celery.setup_security() function. Note that this will also disable all insecure serializers so that the worker0 码力 | 705 页 | 2.63 MB | 1 年前3
Celery 3.1 Documentationit by doing the following,: $ tar xvfz celery-0.0.0.tar.gz $ cd celery-0.0.0 $ python setup.py build # python setup.py install The last command must be executed as a privileged user if you are not currently CELERY_SECURITY_CERT_STORE settings respectively. With these configured it is also necessary to call the celery.setup_security() func- tion. Note that this will also disable all insecure serializers so that the worker '/etc/ssl/certs/worker.pem' CELERY_SECURITY_CERT_STORE = '/etc/ssl/certs/*.pem' from celery.security import setup_security setup_security() Note: While relative paths are not disallowed, using absolute paths is recommended0 码力 | 607 页 | 2.27 MB | 1 年前3
Celery 3.0 Documentationit by doing the following,: $ tar xvfz celery-0.0.0.tar.gz $ cd celery-0.0.0 $ python setup.py build # python setup.py install The last command must be executed as a privileged user if you aren’t currently Celery from celery.schedules import crontab app = Celery() @app.on_after_configure.connect def setup_periodic_tasks(sender, **kwargs): # Calls test('hello') every 10 seconds. sender.add_periodic_task(10 security_cert_store settings respectively. With these configured it’s also necessary to call the celery.setup_security() function. Note that this will also disable all insecure serializers so that the worker0 码力 | 703 页 | 2.60 MB | 1 年前3
Celery v4.0.0 Documentationit by doing the following,: $ tar xvfz celery-0.0.0.tar.gz $ cd celery-0.0.0 $ python setup.py build # python setup.py install The last command must be executed as a privileged user if you aren’t currently Celery from celery.schedules import crontab app = Celery() @app.on_after_configure.connect def setup_periodic_tasks(sender, **kwargs): # Calls test('hello') every 10 seconds. sender.add_periodic_task(10 security_cert_store settings respectively. With these configured it’s also necessary to call the celery.setup_security() function. Note that this will also disable all insecure serializers so that the worker0 码力 | 701 页 | 2.59 MB | 1 年前3
Celery 3.1 Documentationit by doing the following,: $ tar xvfz celery-0.0.0.tar.gz $ cd celery-0.0.0 $ python setup.py build # python setup.py install The last command must be executed as a privileged user if you are not currently CELERY_SECURITY_CERT_STORE settings respectively. With these configured it is also necessary to call the celery.setup_security() function. Note that this will also disable all insecure serializers so that the worker '/etc/ssl/certs/worker.pem' CELERY_SECURITY_CERT_STORE = '/etc/ssl/certs/*.pem' from celery.security import setup_security setup_security() Note While relative paths are not disallowed, using absolute paths is recommended0 码力 | 887 页 | 1.22 MB | 1 年前3
Celery v4.2.1 Documentationit by doing the following,: $ tar xvfz celery-0.0.0.tar.gz $ cd celery-0.0.0 $ python setup.py build # python setup.py install The last command must be executed as a privileged user if you aren’t currently Celery from celery.schedules import crontab app = Celery() @app.on_after_configure.connect def setup_periodic_tasks(sender, **kwargs): # Calls test('hello') every 10 seconds. sender.add_periodic_task(10 security_cert_store settings respectively. With these configured it’s also necessary to call the celery.setup_security() function. Note that this will also disable all insecure serializers so that the worker0 码力 | 746 页 | 2.73 MB | 1 年前3
Celery v4.2.0 Documentationit by doing the following,: $ tar xvfz celery-0.0.0.tar.gz $ cd celery-0.0.0 $ python setup.py build # python setup.py install The last command must be executed as a privileged user if you aren’t currently Celery from celery.schedules import crontab app = Celery() @app.on_after_configure.connect def setup_periodic_tasks(sender, **kwargs): # Calls test('hello') every 10 seconds. sender.add_periodic_task(10 security_cert_store settings respectively. With these configured it’s also necessary to call the celery.setup_security() function. Note that this will also disable all insecure serializers so that the worker0 码力 | 738 页 | 2.68 MB | 1 年前3
共 51 条
- 1
- 2
- 3
- 4
- 5
- 6













