Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Cron Fail Alert

Security covered Under active development 30 sites

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.

Drupal 10–11

Ask your assistant about Cron Fail Alert

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
7
Tracked since
May 2023
Latest release
7 months ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.1.1 Stable 10–11 Mar 12, 2026
1.x-dev Dev 10–11 Mar 12, 2026
1.1.0 Stable 10–11 Dec 5, 2025
1.0.2 Stable 8–10 Jul 19, 2023
1.0.1 Stable 8–10 Jun 16, 2023
1.0.0 Stable 8–10 May 15, 2023
1.0.x-dev Dev 10–11 May 15, 2023