Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Logrotate Problem

Discussion in 'General Discussion' started by fizz, Apr 20, 2004.

  1. fizz

    fizz Well-Known Member

    Joined:
    Jan 25, 2002
    Messages:
    202
    Likes Received:
    0
    Trophy Points:
    316
    Im running the Cpanel-MRTG Scripts, however due to the constant greping on a increasingly larger exim_mainlog, how would i go about making this file rotate every day instead of every week.

    This is becoming more important as my servers are getting more people on them.

    Thanks
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    22
    Trophy Points:
    463
    Location:
    Go on, have a guess
    edit /etc/logrotate.d/exim and the word daily before the postrotate directive. man logrotate is your friend ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice