[Logwatch] time range settings

Bjorn L. bl_logwatch2 at mblmail.net
Fri Feb 2 12:19:54 MST 2007



Jason wrote:
> I tried '-1 hours',
> but if the command runs at 10:15 it'll only pick up 9:15 to 10:15, not
> 9:00 to 10:00.  '-1 hours for that hour' appears to do the same thing.

That should have done what you wanted. '-1 hour for that hour' or
'one hour ago for that hour' should have provided log info for 9:00 to
right before 10:00 am, if run between 10:00 am and right before 11:00
am.

If it doesn't work, please send me the appropriate log entries, and I
will take a look at it.




More information about the Logwatch mailing list