The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Turning on Log Watch?

Discussion in 'General Discussion' started by pjman, Aug 27, 2004.

  1. pjman

    pjman Well-Known Member

    Joined:
    Mar 22, 2003
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    New York
    I was wondering how to turn on Log Watch, so that I receive a nightly email from the server? Any help is much appreciated!
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,472
    Likes Received:
    20
    Trophy Points:
    463
    Location:
    Go on, have a guess
    You should just have to create a symlink in /etc/cron.daily like this:

    ln -s /log.d/scripts/logwatch.pl /etc/cron.daily/00-logwatch

    The 00- beforehand makes sure it is run first each day.
     
  3. pjman

    pjman Well-Known Member

    Joined:
    Mar 22, 2003
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    New York
    Thru Cpanel

    Is there anyway to setup it up via Cpanel?
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,472
    Likes Received:
    20
    Trophy Points:
    463
    Location:
    Go on, have a guess
    No, you have to do it from the root shell via SSH.
     
Loading...

Share This Page