Daily counter and options to extend

Matej Žerovnik matej at zunaj.si
Sun Oct 19 21:47:51 CEST 2014


I guess running a crontab every day at midnight and erasing all 
Max-Daily-Session entries suddenly sounds like a good idea:)

Matej

On 19.10.2014 14:41, Russell Mike wrote:
> You are looking for top-up feature. i don't think you would be able to 
> do this.
>
> On Sat, Oct 18, 2014 at 8:15 PM, Matej Žerovnik <matej at zunaj.si 
> <mailto:matej at zunaj.si>> wrote:
>
>     Hello!
>
>     I'm trying to achieve something, but not sure for to do it...
>
>     What I want is to have a fixed daily limit for all users set to
>     1h. That is no problem, since I set Max-Daily-Session for all
>     users via group check.
>     But sometimes I would like to extend that limit to 2 or more hours
>     for certain users. I could set Max-Daily-Session for that certain
>     user, but that setting would not get reset at the end of the way.
>     I would have to run a cronjob to purge settings in sql...
>
>     Is there a nicer/proper way of achieving that?
>
>     Matej
>
>     -- 
>     ---
>     Matej Zerovnik
>
>     -
>     List info/subscribe/unsubscribe? See
>     http://www.freeradius.org/list/users.html
>
>
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

-- 
---
Matej Zerovnik

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20141019/8b40b279/attachment.html>


More information about the Freeradius-Users mailing list