We use Celery with our Django webapp to manage offline tasks; some of these tasks can run up to 120 seconds.
Whenever we make any code modifications, we need to rest
A little late, but that can fixed by deleting the file called celerybeat.pid.
Worked for me.