Programmatic time-based job scheduler
Project description
Crono
Environmental variables
REDIS_MAX_CONNECTIONS (default: 20)
CELERY_BROKER
CELERY_RESULT_BACKEND
CELERY_BROKER_POOL_LIMIT (default: 0)
CELERY_TASK_IGNORE_RESULT (default: True)
CELERY_BEAT_MAX_LOOP_INTERVAL (default: 300)
CELERY_WORKER_MAX_TASKS_PER_CHILD (default: 100)
Module dependencies
celery-redbeat = "==0.13.0"
requests = "==2.23.0"
How to start
redis-server &
celery worker --app=crono.queue:queue --hostname=worker1@%h --loglevel=DEBUG
celery beat --app=crono.queue:queue --loglevel=DEBUG
How to stop
redis-cli flushall
redis-cli shutdown
How to test
python -m pytest
celery flower -app=crono.queue:queue --address=127.0.0.1 --port=5555 --broker=redis://localhost:6379/0
Runtime
python-3.7
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
crono-0.1.1.tar.gz
(3.6 kB
view details)
Built Distribution
crono-0.1.1-py3-none-any.whl
(5.9 kB
view details)
File details
Details for the file crono-0.1.1.tar.gz
.
File metadata
- Download URL: crono-0.1.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.44.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0689cdf108e90ea429bd06a766e147da9f3be4105437cb1852c1c0af42802fb |
|
MD5 | 23600962b0c3bb58f69e39026ed22953 |
|
BLAKE2b-256 | 6d847e2c86aa9238a641e5e007aa84d629c895250b21b57fef8392e818148b3a |
File details
Details for the file crono-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: crono-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.44.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b931f72b66257adf0431df51d88cf7d1d22d257f79eb67be51f5ced7be2319c |
|
MD5 | d35fcf694980be65dad1c8291208689b |
|
BLAKE2b-256 | f493fae7367e6fb568fa51344005f2dd3a5defc1d58cb50a84e599db5fd5da77 |