HOWTO
39f76748dd1dadfd7a81f75877bdba6fdad5cbb590dafda221a481344a8c5ce6
/backend README
5-18-1999
Gratefully ripped from vacuum@technotronic.com
Heres how:
Setup a crontab entry to launch a shell script every 30 minutes.
*/30 * * * * /home/user/news.sh
Your news.sh should look something like this
NOTE: This script will need editing :)
----------
#!/bin/sh
/usr/local/bin/wget http://packetstorm.securify.com/whatsnew20.html
/usr/local/bin/wget http://packetstorm.securify.com/whatsnew50.html
if [ ! -s whatsnew20.html]
then
echo Couldn't find whatsnew20.html
exit 1
fi
if [ ! -s whatsnew50.html ]
then
echo Couldn't find whatsnew50.html
exit 1
fi
mv /home/user/*.txt /home/user/public_html/
chmod a+r /home/user/public_html/*.txt
echo Copied packetstorm files
exit 0
--------
Then if your server supports server side includes you can add something
like this to your HTML
<!--#include virtual="whatsnew.html"-->