networkjanitor
networkjanitor
I think this is also what https://github.com/arteria/django-background-tasks/issues/151 is about, but that issue does not have any description and is four years old by now.
> For an immediate work-around, you can use the reset-tasks command line option, this will delete all the existing (including stale) django-background-tasks tasks and re-create any as needed as new...
For now I'm using the following new command (placed at `/app/sync/management/commands/unlock-tasks.py`) to unlock (by deletion and recreation) any locked tasks by dead processes: ``` from django.core.management.base import BaseCommand from django.utils.translation...