Solved

Fedora 16 logwatch

Posted on 2012-04-11
3
472 Views
Last Modified: 2012-06-27
Hi Experts,
I have Fedora 16 64 bit with logwatch running but I get only once a week on Tuesday.
In order to get it everyday, where do I look into? I checked anacrontab but daily.cron but I couldn't find any settings. Any idea?
Thanks in advance.
0
Comment
Question by:Ksean
3 Comments
 
LVL 30

Assisted Solution

by:Kerem ERSOY
Kerem ERSOY earned 150 total points
ID: 37835352
Hi,

Just check /etc/cron.daily and make sure htat you have logwatch fired daily there.

Cheers,
K.
0
 
LVL 4

Accepted Solution

by:
senseifedon earned 350 total points
ID: 37836500
Hi,

/etc/logwatch/conf/logwatch.conf this file is the configuration file of logwatch. And you can change variables.

I f you wanna receive email daily, you have to change this line:

Range = yesterday
to
Range = Today

Save changes and restart logwatch

Or you have to try this method via cron

The whole idea is to have Logwatch work without you having to exert yourself, so now you have to edit /etc/crontab to run Logwatch at your desired intervals. This runs it daily at 1am:

# m h dom mon dow user  command
  0 1  * * *   root       /usr/sbin/logwatch
0
 

Author Closing Comment

by:Ksean
ID: 37837901
Thanks
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now