[Tfug] Automatic Update?

Jim Secan jim at nwra.com
Mon Sep 18 10:05:01 MST 2006


At 09:54 AM 9/18/2006 -0700, you wrote:
>> I guess the fix is to divide the yum.log up into
>> years, unless there's a
>> way to add the year so that Logwatch sees it.
>
>Setup a crontab entry to cat 'date' to the end
>of the logfile every new year's eve (or, every
>month if you'd prefer a belts-and-braces approach!)

So, this would trigger Logwatch to use the correct year?  The band-aid fix
I put in was to modify the yum entry for logrotate to rotate that log
annually.

Jim
*---------------------*-------------------------------*
| Jim Secan           | Northwest Research Assoc, Inc |
| (jim at nwra.com)      | 2455 E. Speedway, Suite 204   |
| (520) 319-7773      | Tucson, Arizona 85719         |
*---------------------*-------------------------------*




More information about the tfug mailing list