http://www.perlmonks.org?node_id=544461


in reply to Re^2: Accessing cron job output from a web page?
in thread Accessing cron job output from a web page?

I had that thought with one of my pages. I take the middle road. Have the script check the age of the HTML file, and if it's more than X minutes old, recreate it from the log files, otherwise just show it. It saves CPU and time when many people are viewing the page at the same time, but still gives you almost current data.