Part of the Batch ecosystem · 8 projects
Batch Jobs provides a more scalable and robust way to handle large background tasks than Drupal core's default batch system. It separates job and task data into different database tables for better performance and includes reporting features to track the status and results of individual tasks. This makes it easier to manage and troubleshoot complex batch operations.
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.
Ask your assistant about Batch Jobs
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
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