Add more detailed watchdog messages during cron runs

Created on 31 August 2015, about 9 years ago
Updated 21 January 2023, over 1 year ago

We had an issue where cron would reach max_execution_time and simply stop. The issue was that we did not know which module's cron tasks were taking so much time, thus added more logging for cron runs to identify slow modules.

We realize that this might be solved using modules like Ultimate Cron (or maybe some other?), however, it seems overkill to have to install a new module for these small changes. For example, you are using standard cron and you encounter the same issue. And, let's say that the longest task is search indexing. You can simply change the setting to have less pages indexed once you know why it reaches max_execution_time.

Other idea would be to add more hooks to cron runs, so the users could develop more flexible solutions without altering Drupal core.

Feature request
Status

Closed: duplicate

Version

7.0 ⚰️

Component
Cron 

Last updated 5 days ago

No maintainer
Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024