Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

459
Vistas
How to remove celery beat task in django

I followed the doc (http://docs.celeryproject.org/en/latest/userguide/periodic-tasks.html) and write a Periodic Task , add CELERYBEAT_SCHEDULE in django settings.py, and run it in supervisor: celery -A proj worker -B

But now I do not want the Periodic Task anymore. I delete the schedule in settings.py, and change command in superviosor to: celery -A proj worker without celery beat, and reload it.

but once I run celery, there are still Periodic Tasks running.

I event delete all data in djcelery and celery beat pid file. But it does not help.

How can I remove the Periodic Task ?

about 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

I have found the answer:

you can see SCHEDULED task by

celery beat --loginfo=DEBUG

After doing this, I found my task has been deleted.

But task queue has a lot of existing tasks. Just do: celery -A proj purge

about 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda