Batch Jobs is a scalable, robust replacement for the batch facility in Drupal core. While the batch facility in Drupal 7 core works fine for small jobs, it stores all the information in one record in one database table. This is not scalable and results in overloading the database server. Batch Jobs has separate database tables for the batch jobs and batch tasks which allows tasks to be retrieved and updated with much less effort. It also has reports for batch jobs and the tasks for a batch job which make it easier to find the status of a batch job, when tasks started and ended and the results of a task. For large batch jobs this is essential so that tasks that failed can be investigated and fixed.
Drupal 8
The Batch Jobs Example module has been added both for testing purposes and to provide an example how to use the Batch Jobs module. To create an example batch job visit the path batch-jobs/example. For Drupal 8, code has been added to make it easy to run a batch job from cron or drush. There is an example drush command in the Batch Jobs Example module which can be run using drush batch_jobs:example 50.
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Batch ecosystem
Most installed first