caching script results as html - TechRepublic
General discussion
August 31, 2002 at 05:56 AM
memobug

caching script results as html

by memobug . Updated 23 years, 10 months ago

Greetings,

I have a couple of scripts for news and calendar that change every couple of days. Most are written in perl, but some are in php.

Is there a way to automate the process of running these scripts and capturing their output (which isplain html) so that it can be included by server side includes?

Every couple of days, I run the scripts, view source, and save as “componentX.html” manually, and I figure there has to be a better way.

I can use cron to run the script, but how about redirecting its output to an html file? I’m on a Linux server.

Thanks,

Matt

This discussion is locked

All Comments