On Tue, 11 Sep 2001, Jason Wong wrote:
> I have a few very low traffic sites, but I like to produce daily reports. On
> some days there are no traffic for a site and thus no output file should be
> created.
>
> I have a cron job which generates the reports daily using the +F and +T
> options.
>
> How do I prevent Analog from writing an output file if there is nothing to
> report in the time period of the analysis?
>
Analog doesn't do this itself. Of course, you could get a second program to
check the output and delete the file if it doesn't represent any requests.
--
Stephen Turner http://www.statslab.cam.ac.uk/~sret1/
Statistical Laboratory, Wilberforce Road, Cambridge, CB3 0WB, England
"This is Henman's 8th Wimbledon, and he's only lost 7 matches." BBC, 2/Jul/01
+------------------------------------------------------------------------
| This is the analog-help mailing list. To unsubscribe from this
| mailing list, go to
| http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
| List archives are available at
| http://www.mail-archive.com/[email protected]/
| http://lists.isite.net/listgate/analog-help/archives/
| http://www.tallylist.com/archives/index.cfm/mlist.7
+------------------------------------------------------------------------