On Fri, 23 Jan 2004, Giles Roadnight wrote:

> Hello People
>
> I hope you can help with this one.
>
> I am trying to set up a batch file to run on the first of every month to
> compile the stats for the previous month. I know how to get analog to
> compile stats for the current month but not for the last month.
>
> How do I subtract a month from the date in a batch file?
>

You might not need it in the batch file. You can give analog the commands
  FROM -00-0101
  TO -00-0131
to show the stats for the previous month. (You will still need it in the
batch file if you want to read only certain logfiles though).

-- 
Stephen Turner, Cambridge, UK    http://homepage.ntlworld.com/adelie/stephen/
"The internet is a reflection of our society. If we do not like what we see,
 the problem is not to fix the mirror, we have to fix society." (Vint Cerf)
+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  Digest version: http://lists.isite.net/listgate/analog-help-digest/
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
+------------------------------------------------------------------------

Reply via email to