                          ===================         
                          =  Copy-Log v0.1  =
                          ===================
                   (w) Alexander Hoff, N.E.W.S. GbR
 
Description:
------------
This script archives all files with a given suffix, *.log for example, to a
specified directory by using the zip-utility. The filename of the archive
is beeing composed of the current time and date automaticly.
Since some files, e.g. the log file of the apache web server, are locked
when the related program is beeing executed, it may be necessary to execute
some commands or programm-calls before 'Copy-Log' can copy and archive the
specified files. Therefor 'Copy-Log' will execute each line in the optional
command files as separate commands before (before_run.clc) Copy-Log starts its
job and/or afterwards (after-run.clc). The internal command 'pausefor X' can be 
used in this scripts to pause for 'X' seconds between two commands. 


Why Copy-Log?
-------------
Copy-Log may be useful for system administrators who want to archive the
log-files of all running server applikations. In fact, that's the reason 
why i wrote this script. But of course there are a lot of other possibilities 
to use Copy-Log.


Installation:
--------------
The installation is simple. Just create a directory and unpack the archive 
in this directory.

Note: 
  The zip-utility ('zip.exe') is expected to be in your path. 
  You will find it here: 


Usage:
------
Since each line in both command files ('before_run.clc' and 'after_run.clc')
will be executed as separate commands by Copy-Log, you probably want to edit 
these files to fit your needs. As you may have already supposed the file
'before_run.clc' holds the commands beeing executed before Copy-Log starts its
job, whereas 'after_run.clc' contains the commands which should be executed
after Copy-Log has archived the files. 

To learn how to use Copy-Log type 'Copy-Log.cmd -h'. This will display a 
help screen.


Help, i need a scheduler for Copy-Log ...
-----------------------------------------
There are a lot of good schedulers for OS/2. I am using the New York Time 
Scheduler written by Stu Mark. You will find this Freeware PM Utility on 
ftp://hobbes.nmsu.edu/pub/os2/util/schedule/nyts207.zip , 51k


Future plans:
--------------
- Your ideas (the script does exactly what i want, so i have no 
  further plans at the moment)


History:
--------

Version 0.2:

	the pausefor command was added. 

Version 0.1:

	was the first public release (only a few friends got this version)


Author:
-------
Alexander Hoff           
   N.E.W.S. GbR             
   Herrenhof 13             
   41515 Grevenbroich
   Germany
   Email: AHoff@news-gbr.de
   Tel.: +49-2181-2426-30


Disclaimer / License Agreement:
-------------------------------
Copy-Log is FREEWARE. I allow you to use and distribute Copy-Log freely under 
the condition that in case of distribution you give out the original 
zip-archive.  

Alexander Hoff and N.E.W.S. GbR cannot be held responsible for any losses 
or damages incurred by the use of this program.  USE IT AT YOUR OWN RISK!

By your use of the program your agree to the terms of this license.


