Introduction¶
alt: Circle CI
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
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