From 7d3544a624c618b955ecd6dba029145ccd0ac242 Mon Sep 17 00:00:00 2001 From: Charles Connell Date: Fri, 23 May 2014 14:26:40 -0400 Subject: [PATCH] experiment with celery --- Procfile | 1 + celerywrapper.sh | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 celerywrapper.sh diff --git a/Procfile b/Procfile index 285231d..d7235b4 100644 --- a/Procfile +++ b/Procfile @@ -1,3 +1,4 @@ web: gunicorn karmaworld.wsgi celeryworker: python manage.py celery worker --pidfile=/tmp/celeryd.pid -l info celerybeat: python manage.py celery beat --pidfile=/tmp/beat.pid -l info +celerywrapper: sh celerywrapper.sh diff --git a/celerywrapper.sh b/celerywrapper.sh new file mode 100644 index 0000000..7ae2289 --- /dev/null +++ b/celerywrapper.sh @@ -0,0 +1,3 @@ +#!/bin/bash +python manage.py celery worker --pidfile=/tmp/celeryd.pid -l info & +python manage.py celery beat --pidfile=/tmp/beat.pid -l info & -- 2.25.1