Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quota reset #6066

Closed
kwilczek opened this issue Sep 27, 2022 · 0 comments
Closed

Quota reset #6066

kwilczek opened this issue Sep 27, 2022 · 0 comments

Comments

@kwilczek
Copy link

kwilczek commented Sep 27, 2022

Dear CUPS Team,

I know that there is a quota system (https://www.cups.org/doc/accounting.html), but I'm unable to figure out how to reset the quota. Could someone shed some light on this and update the documentation?

We have a really simple use case:

  • set a limit for N pages on the P printer for the period of T seconds,
  • after the T period, reset the quota -- set the same limit N for the same period T again.

Is it possible with the current quota implementation? I tried setting the quota and period to 0, etc. but nothing works. After setting the limit again, I get the info that my quota has already exhausted -- which means that the previous limit is still in use.
And, are there any alive 3rd party quota solutions that you know of? I think that the pykota is EOL and I really can't find anything that is in wider use.

Kind regards,

--
Kamil

@kwilczek kwilczek closed this as completed Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant