Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

cron_actions

No security coverage
View on drupal.org

Features

What it does: Cron Actions provides a plugin-based system for executing scheduled operations on entities. Site builders configure "cron actions" that combine a source (what to process) with an action (what to do), running on a defined schedule.

Key features:

  • Cron expression scheduling — Use standard 5-field cron syntax for precise control (e.g., 0 9 * * 1-5 for weekdays at 9 AM)
  • Plugin architecture — Extensible Source and Action plugins for custom behaviors
  • Cooldown throttling — Prevent reprocessing the same entity within a configurable period
  • Queue-based execution — Reliable asynchronous processing that won't timeout
  • Built-in Mail Action — Send templated emails with token support
  • Admin interface — Create and manage scheduled actions through the UI

Use cases:

  • Send reminder emails to users inactive for 30+ days
  • Notify authors when content is approaching expiration
  • Trigger periodic maintenance on entities matching specific criteria
  • Archive or unpublish outdated content automatically

Post-Installation

After enabling the module:

  1. Navigate to Administration → Configuration → System → Cron Actions
  2. Click Add cron action
  3. Configure your action:
    • Label: A descriptive name
    • Cron expression: When to run (e.g., 0 0 * * * for daily at midnight)
    • Source plugin: Selects which entities to process
    • Action plugin: Defines what operation to perform
    • Cooldown days: Optional delay before reprocessing the same entity
  4. Save and ensure cron is running on your site

Permissions: Grant "Administer cron actions" to trusted roles that should manage scheduled actions.

Note: The module ships with a Mail Action plugin. To add custom sources or actions, developers can create plugins in a custom module (see README
for examples).

Additional Requirements

No additional Drupal modules are required.

  • Token — Enables token replacement in the Mail Action plugin. When installed, you can use tokens like
    [user:name] and [node:title] in email subject and body fields.
  • Ultimate Cron — Provides advanced cron job management if you need finer control over when Drupal cron
    runs.

Similar projects

  • Scheduler — Focused specifically on publishing/unpublishing content at scheduled times. Cron Actions is
    more general-purpose, allowing any action on any entity type through its plugin system.
  • Rules — Provides event-condition-action workflows. Cron Actions focuses specifically on cron-triggered,
    entity-targeted operations with built-in throttling.
  • ECA — A powerful automation framework. Cron Actions offers a simpler, focused solution for scheduled entity
    processing without the complexity of a full automation system.

Supporting this Module

Development of this module is supported by the community. If you find it useful:

  • Report issues and contribute patches in the issue queue
  • Leave a review on the project page

Community Documentation

  • See the README.md in the module for developer documentation and plugin examples

Activity

Total releases
1
First release
Mar 2026
Latest release
1 month ago
Release cadence
Stability
0% stable

Releases

Version Type Release date
1.0.x-dev Dev Mar 3, 2026