django-background-tasks icon indicating copy to clipboard operation
django-background-tasks copied to clipboard

clear tasks in queue

Open Bersam opened this issue 7 years ago • 6 comments

Is there any method to call and clear all active tasks in queue? didn't find anything in docs.

Bersam avatar Mar 03 '18 07:03 Bersam

Do you mean, a method to kill already started tasks before they are finished? That would be useful.

onurmatik avatar May 02 '18 21:05 onurmatik

+1 👍

davidzwa avatar May 25 '18 09:05 davidzwa

Both cases would be useful! As methods and exposed as admin actions.

philippeowagner avatar Jul 12 '18 11:07 philippeowagner

It would be very useful, any plan on implementing this?

TulsiSwami avatar Sep 25 '18 20:09 TulsiSwami

Removing tasks can be done using the admin site. Just check all and select delete from the actions.

philippeowagner avatar Sep 25 '18 21:09 philippeowagner

Thanks for the quick response!

I was actually referring to tasks which are already running. I was looking for an option to kill them before they're finished.

To original ref:

Do you mean, a method to kill already started tasks before they are finished? That would be useful.

TulsiSwami avatar Sep 25 '18 23:09 TulsiSwami