3. What is batch API?
● Batch (execution of a series of “jobs”)
● Application Programming Interface
● Avoid PHP timeout
● Spread out the processing over several page
requests
● Feedback for users (progress bar)
● Cannot use in cron jobs
4. When can batch API be useful?
● designed to integrate with the Form API
workflow
● can be used by non-Form API scripts (update,
page callbacks)
● site install (module install)
● bulk operations (nodes, users)
● search API (indexing)