Code Files

log2html.bat

Generated on Tue Dec 05 17:44:03 Eastern Standard Time 2006 from log2html.bat


@echo off
title LOG2HTML.BAT  Create HTML tables from  Logs
goto begin

Date    : 20 December 2005
Author  : Bob Jonkman <bjonkman@sobac.com>

# Copyright 2008 Bob Jonkman and/or SOBAC Microcomputer Services

#    This program is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
#
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.


:begin

rem WebAccess Logs
gawk -f csv2html.awk -f library.awk -v TITLE="GW WebAccess Logs" -v NOHEADER=1 -v LINK=1 \\COTGW506.corp.example.com\MAIL\gwagents\WebAccess\logs\*.* > \\cotgw506\sys\Apache2\htdocs\stats\webaccesslogs.html

rem EOF: LOG2HTML.BAT
   

1 files processed.