[Django]-Deleting periodic task for celery scheduler in `settings.py` will not delete the actual task

0👍

From the celery guide to periodic tasks and the celery management guide.

inspect active: List active tasks

$ celery -A proj inspect active

inspect scheduled: List scheduled ETA tasks

$ celery -A proj inspect scheduled

control disable_events: Disable events

$ celery -A proj control disable_events

Alternatively, try the GUI management systems available in the management guide.

EDIT: Purge will only remove the messages, not the task itself.

0👍

Delete the task in the djcelery admin screen to remove it from the database.

Leave a comment