Regular Drupal batch jobs can be "paused" by e.g. leaving the page.

Background Batch does not have this functionality. When a batch job is started, the job runs until it finishes (or it dies).

Background Batch should support a "Pause" feature. And while we're at it, a "Cancel" feature would be nice as well.

Comments

elijah lynn’s picture

Issue summary: View changes

Would love to see this as I just ran into a need to cancel a batch that went rogue!!!

The query appears to be DELETE FROM batch WHERE bid IN (5166);

In our case we are using Better Batch and we also needed to run:

DELETE FROM better_batch WHERE bid IN (5166)

http://drupal.stackexchange.com/questions/205177/how-to-delete-stuck-bat...