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.

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.

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.