File creation stuffs
- I have a script that is supposed to take a text file and create an html
The way it works is by using cron and running
However, for some reason cron won't do it. It just creates and empty
index.html file. If I run it by hand it works ok. So I'm thinking I
will have to have the script itself create the file. I just don't know
Here is the code I have so far.
+++begin perl paste+++
@report = `cat /home/httpd/html/adv/zonedreport/dlyZonedSold`;
$day = `date +'%a %b %D'`;
<meta HTTP-EQUIV=Refresh CONTENT="300; URL=index.html">
<table cellpadding='2' cellspacing='2' border='0' width='100%'>
<tr width='150'><td valign='top' width='150'>
<img src='kcnlogo.png' width='150' alt='Logo'
PBS Report dlyZonedSold<br>
#print "Generated $day";
<!--Time stamp maybe-->
+++end perl paste+++
any help would be greatly appreciated.
Bryan Irvine <bryan.irvine@...>