This release is a pre-release and may not be stable for production use.
RedBeat is a Celery Beat Scheduler that stores the scheduled tasks and runtime metadata in Redis.
Why RedBeat?
Dynamic live task creation and modification, without lengthy downtime
Externally manage tasks from any language with Redis bindings
Shared data store; Beat isn’t tied to a single drive or machine
Fast startup even with a large task count
Prevent accidentally running multiple Beat servers
For more background on the genesis of RedBeat see this blog post
Getting Started
Install with pip:
pip install celery-redbeat
Configure RedBeat settings in your Celery configuration file:
redbeat_redis_url = "redis://localhost:6379/1"
Then specify the scheduler when running Celery Beat:
celery beat -S redbeat.RedBeatScheduler
RedBeat uses a distributed lock to prevent multiple instances running. To disable this feature, set:
redbeat_lock_key = None
More details available on Read the Docs
Development
RedBeat is available on GitHub
Once you have the source you can run the tests with the following commands:
pip install -r requirements.dev.txt py.test tests
You can also quickly fire up a sample Beat instance with:
celery beat --config exampleconf
Release files for celery-redbeat-meideng 0.0.3.dev0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| celery-redbeat-meideng-0.0.3.dev0.tar.gz | 14.9 kB | Details |
Release files / celery-redbeat-meideng-0.0.3.dev0.tar.gz
| Download URL | celery-redbeat-meideng-0.0.3.dev0.tar.gz |
|---|---|
| Size | 14.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7fb2f91dac636c0023ae7e479814763292de07618a858347b107d0629c2b5be5
|
|
BLAKE2b-256 checksum How to use checksums |
e6a341069307acbdcb6a9ff315cfec7b60891c003718fc6ca0144e3f5f1edf27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.1
|