[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 506
  • Last Modified:

Fedora 16 logwatch

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
Ksean
Asked:
Ksean
2 Solutions
 
Kerem ERSOYPresidentCommented:
Hi,

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

Cheers,
K.
0
 
senseifedonCommented:
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
 
KseanAuthor Commented:
Thanks
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now