Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Varbase FAQs 9.2.1 Minor update available for module varbase_faqs (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Cron Fail Alert

31 sites Security covered
View on drupal.org

This module alerts administrators via email when Drupal's cron jobs fail to run within a configurable time period. It helps prevent issues caused by outdated information, unprocessed tasks, and other problems that arise from malfunctioning cron jobs.

Overview

The Cron Fail Alert module provides proactive monitoring of your Drupal site's cron execution. It automatically detects when cron fails to run within a specified tolerance period and sends email notifications to site administrators, helping you catch and resolve cron issues before they impact your site.

Cron failures can lead to serious problems including outdated search indexes, unprocessed queue items, missed cache clearing, stale aggregated files, and unexecuted scheduled tasks. This module ensures you're immediately notified when cron stops functioning properly.

Key Features

  • Configurable Monitoring Frequency: Set how often to check if cron has failed (1–1440 minutes), preventing excessive checks on every page load
  • Customizable Tolerance Period: Define the maximum time allowed (1–10080 minutes) before considering cron failed, with smart validation to avoid false positives
  • Email Notifications: Automatic alerts sent to configured recipients when cron failures are detected
  • Flexible Configuration: Customize email subject lines and message templates with token support (@minutes and :site)
  • Organized Settings Interface: Intuitive configuration form with separate sections for monitoring and notification settings
  • Smart Validation: Built-in validation ensures tolerance is always greater than check frequency to prevent false alerts
  • Default Values: Sensible defaults (15-minute check frequency, 20-minute tolerance) work out of the box
  • Performance Conscious: Checks run at configurable intervals rather than on every page load

Use Cases

  • Production sites where cron reliability is critical
  • Sites with complex cron jobs processing important business logic
  • Multi-site installations requiring centralized cron monitoring
  • Sites with external dependencies that need timely cron execution
  • Any Drupal site where cron failures could impact user experience or data integrity

Configuration

After installation, navigate to Configuration > System > Cron > Cron Fail Alert settings or visit /admin/config/system/cron-fail-alert.

Monitoring Settings:

  • Check frequency: How often to verify cron status (default: 15 minutes)
  • Cron failure tolerance: Maximum allowed time since last successful cron run (default: 20 minutes)

Email Notification Settings:

  • Recipient email address (defaults to site email)
  • Custom subject line
  • Custom message body with token support

Requirements

  • Drupal 10 or 11
  • PHP 8.1 or higher

Similar Modules

While there are other monitoring solutions available, Cron Fail Alert focuses specifically on cron execution monitoring with a simple, lightweight implementation that doesn't require external services or complex setup.

Maintainers

This module is actively maintained. Bug reports, feature requests, and patches are welcome in the issue queue.

Activity

Total releases
3
First release
Dec 2025
Latest release
4 months ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
1.1.1 Stable Mar 12, 2026
1.x-dev Dev Mar 12, 2026
1.1.0 Stable Dec 5, 2025