shithub: logrotate

ref: 7b390e5368973a5b162cc63a8db7bb6ee85cff14
dir: /README.md/

View raw version
# logrotate

A multi-generational log rotator.  Runs as the hostowner
from cron.  Take the defaults or edit these 4 varables in
the script:

logdir		Where your log files live if not /sys/log
logfiles 	What files you want rotated
generations	How many generations to you want to keep
maxsize		How big can the logfile get before its rotated

Run from cron at midnight every sunday
0 0 * * 0 $sysname pathto/logrotate