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)
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
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.0.tar.gz
(3.2 kB
view details)
Built Distribution
crono-0.1.0-py3-none-any.whl
(5.4 kB
view details)
File details
Details for the file crono-0.1.0.tar.gz
.
File metadata
- Download URL: crono-0.1.0.tar.gz
- Upload date:
- Size: 3.2 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.43.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a65997395c79508b5ba4b744a3b00eb6e477a86a4286ecf216d59a578a06a656 |
|
MD5 | 7a95ebcea16a2d16b1b3b7ee7cefd3ce |
|
BLAKE2b-256 | f9f0ee2bfb99b96bcd5bc94f8c80c4c585a2fe7c94ed1ccf1acc086f48bbbba3 |
File details
Details for the file crono-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: crono-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.4 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.43.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66b68e1ac342fb6c5872e795122952a15e9a13f5c986c0cc79d5987b572fb9a0 |
|
MD5 | 49b3070055ebdb12f61e30713e418e8a |
|
BLAKE2b-256 | ea7ca224125492d50b7e01da4b40d30f652471b6d121667d08d08710d558c0fb |