drupal-batch-queue-cron

Community

Process background tasks and scheduled jobs.

Authorproofoftom
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill streamlines the handling of large datasets and periodic tasks by leveraging Drupal's Batch API, Queue Workers, and cron hooks, preventing timeouts and ensuring efficient background processing.

Core Features & Use Cases

  • Batch Processing: Handle multi-request operations for large user-initiated tasks.
  • Queue Workers: Process items asynchronously during cron runs with time-based execution.
  • Cron Hooks: Execute bounded, periodic tasks efficiently.
  • Use Case: Automatically process thousands of user-uploaded images in batches, or run a nightly cleanup of old log entries via cron.

Quick Start

Use the drupal-batch-queue-cron skill to create a QueueWorker that processes items from a queue named 'my_data_processor' and runs for up to 15 seconds during cron.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: drupal-batch-queue-cron
Download link: https://github.com/proofoftom/drupal-skills/archive/main.zip#drupal-batch-queue-cron

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.