Counters reset period

liran tal liransgarage at
Mon Feb 15 17:00:34 CET 2010

On Mon, Feb 15, 2010 at 5:21 PM, Alan DeKok <aland at>wrote:

> liran tal wrote:
> >
> > 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).
>   Use a cron job && SQL statements.
Alan, could you explain?

Since the '3m' reset period didn't work as I expected I patched the
rlm_sqlcounter.c to reset counters
on a quarterly cycle. Though I'd appreciate to hear from you another
approach to this.

Liran Tal.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Freeradius-Users mailing list