If you've ever had issues with cron being slow, or wanted to get insight into what cron was doing *last night* after the fact, then this plugin is a great tool to have in your toolbox. It will tell you:
- What cron tasks are running, right now, and what boxes they are running on (great if you have multiple front ends or auto scaling cron clusters)
- Clearly show which tasks are problematic / slow
- A full history of what tasks have run and when, along with timing statistics
- For big / slow tasks these are stored with more detail so you can also use this to see improvement in cron performance after code changes or infrastructure changes
For more details including the installation and configuration steps please see:
https://github.com/catalyst/moodle-tool_lockstats#tool_lockstats