ResellerRatings Store Ratings - View Single Post - caching output of scripts as html
View Single Post
Old 08-31-2002, 02:51 PM   #1 (permalink)
memobug
Registered User
 
Join Date: Jun 2002
Location: Northern California
Posts: 68
memobug is on a distinguished road
caching output of scripts as html

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 is plain 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

__________________
My photopost hacks:
Terms of Use, Thumbnail Includer, My Gallery
memobug is offline   Reply With Quote