Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/alfredfrancis/celery-periodic-task-template

Run periodic tasks using Celery Beat
https://github.com/alfredfrancis/celery-periodic-task-template

celery cron cronjob-scheduler python scheduled-tasks

Last synced: 18 days ago
JSON representation

Run periodic tasks using Celery Beat

Awesome Lists containing this project

README

        

# Periodic tasks using Celery Beat

## Set up env

```sh
virtualenv -p python3 venv
source venv/bin/activate
pip install -r requirements.txt

# start celery daemon
celery worker -l info -A app --beat
```

## or Docker (Recommended for production)
```sh
docker build -t celery-periodic-task .
docker run -d --name redis-celery redis
docker run -d --link redis-celery:redis --name celery-periodic-task-1 celery-periodic-task:latest
```

Happy coding