Results 1 to 3 of 3

Thread: Problems configuring logrotate.

  1. #1
    Join Date
    Jun 2008
    Location
    Barcelona, Spain
    Posts
    35

    Default Problems configuring logrotate.

    Hi!

    We have more than one opensuse 10.3 in production, and very happy. But we have a "problem" with the logrotate options.
    We want to run logrotate daily at 0 (24) hour, but is a impossible mission because ever make the rotation around 12:45 PM.
    We edited /etc/sysconfig/cron file, and put the DAILY_TIME var to "00:00" and now are trying to "24:00", but I think the results will be the same...

    Anybody could tell me the "howto" or indicate a good link with information about this?

    If this isn't the right forum to make this question, please, excuse me.

    Thank you very much.

  2. #2
    Join Date
    Jun 2008
    Location
    El Dorado County, CA, USA
    Posts
    15

    Default Re: Problems configuring logrotate.

    toomany wrote:

    <snip>

    >
    > We want to run logrotate daily at 0 (24) hour, but is a impossible
    > mission because ever make the rotation around 12:45 PM.


    <snip>

    I'm not sure what you meant to say in the above sentence, but couldn't you
    just try 00:01? you'd only be one minute off. Actually, I just read the
    documentation in that file, and it says it will only run on the quarter
    hour anyway, so it *should* round off what you put in there. You'd have to
    experiment to find out which way. 23:59 might work better for you.

  3. #3
    Join Date
    Jun 2008
    Location
    Barcelona, Spain
    Posts
    35

    Default Re: Problems configuring logrotate.

    Yes, I know (and please, excuse me my bad english, because probably is making this more difficult than it is).
    The problem here is the total inability to be able to point in one hour "oclock", and I don't understand the "why", if in another systems (linux or *nix) I can make this...

    I will try with this 23:59 mark to cron.daily...

    Thank you very much.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •