Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/alfredfrancis/celery-periodic-task-template
- Owner: alfredfrancis
- Created: 2018-05-10T10:58:54.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-05-25T05:14:43.000Z (over 6 years ago)
- Last Synced: 2024-10-28T16:53:23.400Z (2 months ago)
- Topics: celery, cron, cronjob-scheduler, python, scheduled-tasks
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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