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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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,472
    Likes Received:
    20
    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 ;)
     
Loading...

Share This Page