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.

Project information

  • caution Seeking new maintainer
    The current maintainers are looking for new people to take ownership.
  • caution No further development
    No longer developed by its maintainers.
  • Module categories: Developer Tools
  • chart icon35 sites report using this module
  • Created by trobey on , updated
  • shieldStable releases for this project are covered by the security advisory policy.
    Look for the shield icon below.

Releases