Jon Duggan wrote:
> Hi,

Please put replies to messages at the bottom, don't top-post.

> Yes i realise it's quite petty, but as has been pointed out to me by the
> management that be, some months have 28 days (even 29 on a leap year :) ),
> some 30, some 31 so they'd like a *true* month by month account  of quota's.
> 
> I'm not sure i understand the SENDER_INACTIVE_EXPIRE= feature?
> Does this overrule the _time_limit entry or something?
> 
> As i say, we want to enforce xGB(_quota_max)/month where the month is a true
> month by month account rather than a fixed '30' day period etc
> 
> ...Guess this is way off the scope of policyd without some hacking

A very simple solution do your problem exists. Setup a crontab that does:

mysql> TRUNCATE TABLE throttle;

on the 1st of every month at 00:00

Regards,
Cami

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
policyd-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/policyd-users

Reply via email to