What I do is create a shell script file and utilize OS' pipe function and a text browser to create the HTML file.
For example: create a text file called generate.sh
lynx -source http://someURL.com/yourCode.asp > yourStaticASP.html
lynx -source http://someURL.com/yourCode.php?Var=123 > yourStaticPHP.html
and do a chmod on the file, make sure it is executable, e.g., chmod u+x generate.sh
You may then schedule this script file in your cron table ;-)
No comments:
Post a Comment