[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Fedora 16 logwatch

Posted on 2012-04-11
3
Medium Priority
?
505 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 600 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 1400 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month18 days, 21 hours left to enroll

834 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