reset sqlcounter on the same day for each user

Anton Zaytsev anton.zajtsev at gmail.com
Tue Jun 8 12:32:23 CEST 2010


On Fri, Jun 4, 2010 at 11:52 AM, Антон Зайцев <anton.zajtsev at gmail.com>wrote:

> Hello everyone.
>
> Need some help. I want to limit my users with MB traffic monthly. I have
> set up sqlcounter and it works great. But it resets in month starting user
> first connect to NAS. Users can register and connect on different day during
> the month and then it resets differently for each user.
>
> And this is the question. How can i reset counter on the certain day for
> certain user(example last day of month).And then counter can resets monthly
> for all users beginning from the first day of month.
>
> Maybe I need some attributes or ...
>
> Thanks
>


Can anybody help with this.
As I understand counters reset only hourly monthly or weekly.
I did search on mail archive and nothing useful have found.
Maybe give me some directions to look for to resolve this problem
Maybe I should use expiration attribute or choose else way.

Thanks
Anton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20100608/104494d0/attachment.html>


More information about the Freeradius-Users mailing list