I don't know if an analog guru can come up with a way to do
        this in analog, but you could extract the date for yesterday using
        a shell script such as:

                SEC=`date +%s | xargs expr -86400 +`
                FILE=`date -r $SEC +%G-%m.html`

        (It would be a lot cleaner in perl :)
        
                David/absolute

On Sat, 4 Mar 2000, New Tecumseth Public Library wrote:

> I'm on NetBSD and I'm using Analog 4.1.  I have setup a crontab to run
> Analog on the first day of every month to analyze the previous month's
> logs.  So for example:
> 
> At 12:01am on May 1, Analog will run and analyze the April log files.  I
> want to have Analog name my output files in the format monthyear.html.
> How would I setup Analog so it will name the output file with the
> previous month's name (or number)?  I'd appreciate any assistance.
> 
> Jeff Longland
> 
> ------------------------------------------------------------------------
> This is the analog-help mailing list. To unsubscribe from this
> mailing list, send mail to [EMAIL PROTECTED]
> with "unsubscribe" in the main BODY OF THE MESSAGE.
> List archived at http://www.mail-archive.com/[email protected]/
> ------------------------------------------------------------------------
> 

------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------

Reply via email to