Disable pidfile for celerybeat

celery, celerybeat

Solution

The following seems to have worked for a few people so I'm submitting it as the answer:

python manage.py celerybeat --pidfile= --schedule=/var/my_app/celerybeat-schedule

`--pidfile=` (an empty string as the pidfile arg) seems to stop one being created.

Problem

`celeryd` doesn't require a pidfile, but `celerybeat` seems to. Is there any way to disable it? I'm using Upstart to manage processes so using a pidfile is redundant.

Original source