<div dir="ltr"><br><div class="gmail_quote">On Mon, Feb 15, 2010 at 5:21 PM, Alan DeKok <span dir="ltr"><<a href="mailto:aland@deployingradius.com">aland@deployingradius.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">liran tal wrote:<br>
><br>
> It seems that the counting period is X months until the current month.<br>
> So if reset=3m is specified and it's now February it will count 3 months<br>
> earlier (thus, december, january and february).<br>
><br>
> I'm wondering if anybody has some insight regarding yearly recurring<br>
> quarterly periods (months:1-3,4-6,7-9,10-12).<br>
<br>
</div>  Use a cron job && SQL statements.<br>
<div><div></div><br></div></blockquote><div><br>Alan, could you explain?<br><br>Since the '3m' reset period didn't work as I expected I patched the rlm_sqlcounter.c to reset counters<br>on a quarterly cycle. Though I'd appreciate to hear from you another approach to this.<br>
<br><br>Regards,<br>Liran Tal.<br></div></div></div>