Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/richardarpanet/persistent-celery-beat-scheduler

⏰ Celery Beat Scheduler that stores the scheduled tasks and runtime data in Redis.
https://github.com/richardarpanet/persistent-celery-beat-scheduler

celery celerybeat python python-library python3 redis scheduler task-scheduler

Last synced: 11 days ago
JSON representation

⏰ Celery Beat Scheduler that stores the scheduled tasks and runtime data in Redis.

Awesome Lists containing this project

README

        

**NOTICE**: If you're reading this on GitHub.com please be aware this is a mirror of the primary remote located at https://code.richard.do/explore/projects.
Please direct issues and pull requests there.

# persistent-celery-beat-scheduler

[![PyPI](https://img.shields.io/pypi/v/persistent-celery-beat-scheduler.svg)](https://pypi.python.org/pypi/persistent-celery-beat-scheduler)
[![Python Versions](https://img.shields.io/pypi/pyversions/persistent-celery-beat-scheduler.svg)](https://pypi.python.org/pypi/persistent-celery-beat-scheduler)
[![Build Status](https://travis-ci.org/richardasaurus/persistent-celery-beat-scheduler.png?branch=master)](https://travis-ci.org/richardasaurus/persistent-celery-beat-scheduler)

![Logo](https://i.imgur.com/ychEU7k.png)

Celery Beat Scheduler that stores the scheduled tasks and runtime data in Redis.

## Installation

```bash
pip install persistent-celery-beat-scheduler
```

## Configuration

In your celery configuration file you need to set the following.

```python
persistent_scheduler_redis_url = 'redis://localhost:6379/'

# Optional: specify name for HSET key in Redis where scheduler data will be stored.
# Defaults to `celery-beat-scheduler` if not specified.
persistent_scheduler_key = 'myapp-celery-beat-scheduler'
```

## Usage

```bash
celery -A my_project.app.celery beat -S persistent_scheduler.PersistentScheduler
```