home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 January
/
usenetsourcesnewsgroupsinfomagicjanuary1994.iso
/
sources
/
misc
/
volume17
/
rotate_log
/
part01
/
ReadMe
next >
Wrap
Text File
|
1991-04-04
|
805b
|
17 lines
Tired of writing yet another log trimming sequence in yet another shell
script? Then this little ditty is for you. It rotates logs, compresses
them, cleans out the old logs, kills the oldest logs, lets you invoke
custom commands along the way, complains politely if anything is wrong,
and has a hot cup of coffee waiting for you in the morning.
OK, it won't do the coffee. But it does everything else, and has managed
to worm it's way into crontabs all over the joint. Today I was putting
it in to clean Yet Another Log, and saw that our operators are using it,
our other system programmer is using it, etc, etc. They're even
reading the man page. Since it's such a success at work, it must
be time to throw it to the wolves, er, world. Enjoy!
Steve Simmons
scs@lokkur.dexter.mi.us
April 3, 1991