Counters reset period

liran tal liransgarage at gmail.com
Mon Feb 15 14:38:15 CET 2010


It seems that the counting period is X months until the current month.
So if reset=3m is specified and it's now February it will count 3 months
earlier (thus, december, january and february).

I'm wondering if anybody has some insight regarding yearly recurring
quarterly periods (months:1-3,4-6,7-9,10-12).


Regards,
Liran.



On Mon, Feb 15, 2010 at 1:58 PM, liran tal <liransgarage at gmail.com> wrote:

> Hey,
>
> I've defined a quarterly reset period counter (reset=3m), and when
> logging-in the %b and %e (beginning of counter
> and ending of counter periods) I am getting values for beginning which are
> equal to the 1st of December
> and ending which is equal to the beginning of March. Meaning, the quarter
> begins with 1st of December while I
> would expect it to begin at the 1st of January (being a calendar quarter).
>
> Could someone please explain this behavior?
>
>
> Thanks,
> Liran.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20100215/78a0a5ca/attachment.html>


More information about the Freeradius-Users mailing list