[Tfug] Automatic Update?

Bexley Hall bexley401 at yahoo.com
Mon Sep 18 09:54:43 MST 2006


--- Jim Secan <jim at nwra.com> wrote:

> I found additional packages that were "updated"
> according to the Logwatch
> file, packages that were not actually updated.  I
> looked more closely at
> the yum.log in /var/log and voila - the yum log
> doesn't list the year in
> the date of the update and Logwatch apparently
> assumes the current year.
> So, things that were updated last year and listed in
> the yum.log file are
> being picked up by Logwatch as having been updated
> this year.
> 
> 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!)

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the tfug mailing list