Skip to main content

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


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 hashes)

Uploaded Source

Built Distribution

crono-0.1.1-py3-none-any.whl (5.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page