Thanks for the reply! Also thank you for vicidial for it being so easy to extend lol
Heres my cron-script for caching
*/5 * * * * curl
http://192.168.1.253/vicidial/arr.lists ... ists_cache >> /srv/www/htdocs/maintenance/list_reseter_log.txt
*/5 * * * * sleep 150 && curl
http://192.168.1.253/vicidial/arr.lists ... ists_cache >> /srv/www/htdocs/maintenance/list_reseter_log.txt
0 2 * * * curl
http://192.168.1.253/vicidial/arr.lists ... rcent=true >> /srv/www/htdocs/maintenance/list_reseter_log.txt
There is a separate table "vicidial_lists_cache" for those stats. It gets updated for all lists nightly for stats like called_count, area codes etc.
Other important but processor-consuming stats are generated every 2.5 minutes (dialed percent, dialable leads count) ---- Only for active lists (which are those that has been called in last 2.5 min)
Other stats are generated in real time, and it only takes 0.5s to generate for the whole day,
I use that report about every 10 minutes to tweak lists depending on how they perform, or if manager thinks people on the list are broke, (you know how that goes),
stats in top right corner are: hopper reset toggle, sales, server seconds, memory used, processor load.