modmore / Scheduler

A general, abstract method of scheduling various tasks within MODX Revolution.
https://www.modmore.com/extras/scheduler/documentation/
MIT License
11 stars 14 forks source link

[Feature] Track how long a task takes to run #20

Closed Mark-H closed 3 years ago

Mark-H commented 9 years ago

Simple microtime() timer before and after a task runs, stored with the task run object. This can be used to flag runs that take longer than expected (possibly related to #14), and also to show an average run time per task on the component.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27184496-feature-track-how-long-a-task-takes-to-run?utm_campaign=plugin&utm_content=tracker%2F927430&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F927430&utm_medium=issues&utm_source=github).