Skip to content

alfredfrancis/celery-periodic-task-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Periodic tasks using Celery Beat

Set up env

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)

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

Releases

No releases published

Packages

No packages published

Languages