Extend cron jobs history

mike-gcs

Member
As the title says, is there a way to extend the cron jobs history. Right now, it is only the last 10 amount. I would like to increase it to at least have the last 72 hours (864 records at the 5-minute interval). This will help us to understand what was running and how long it took. Our example is the List-Import. We want to check on the performance over time. We did implement the Message so that we know it is completed. This does help a bit but does not have the record to explain the total seconds it took.

Thanks in advance.
 
Hello,
There is no hook in place so you can externally connect and change the number of rows to keep per command, so there is no way of doing this without modifying the core of the application. Here is the line of the code where this is happening apps/common/models/ConsoleCommandListHistory.php:256 . Pass a bigger number to deleteOlderRecords()
 
Back
Top