We would like to extend the Cron Alert Fail module with the following improvements:

  • Allow configuring multiple email addresses as recipients for cron failure notifications.
  • Add a configuration option to enable/disable email notifications entirely.
  • Add configuration options to enable/disable specific cron processes when determining whether a cron execution should be considered failed.

These enhancements would provide greater flexibility and allow administrators to better adapt the module to their monitoring requirements.

Before starting the implementation, we would also like to ask whether you see any concerns with adding these features directly to this module, or if you think they would be better suited for a separate custom/contributed module instead.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

rokkun88 created an issue. See original summary.

hemangi.gokhale made their first commit to this issue’s fork.

hemangi.gokhale’s picture

Version: 1.1.1 » 1.0.x-dev
Assigned: rokkun88 » Unassigned
Status: Active » Needs review

@rokkun8, I completely agree with the first two requests, supporting multiple recipients and adding an option to enable/disable notifications entirely. Those enhancements were already somewhat aligned with what I had in mind for the module.

Regarding item #3 (enabling/disabling specific cron processes when determining failures), this requirement does not map directly to the way the module is currently implemented. However, I thought it was worth exploring further.

I've now put together a POC covering all three requested enhancements. It would be great if you could review the implementation, particularly the approach taken for item #3, and let me know whether you think it fits well within the scope and architecture of the existing module.