[GH-ISSUE #125] TASK_CLEANUP_UNUSED Timer #71

Closed
opened 2026-05-07 00:18:40 +02:00 by BreizhHardware · 2 comments

Originally created by @idominiki on GitHub (Feb 13, 2026).
Original GitHub issue: https://github.com/glenndehaan/unifi-voucher-site/issues/125

Originally assigned to: @glenndehaan on GitHub.

The feature

Hi @glenndehaan

I have one more feature request for our schools.

While setting TASK_CLEANUP_UNUSED: 'true' unused vouchers are cleanup a day after creation.

For our schools, it can be helpful to create guest Wi-Fi vouchers in advance for training sessions, etc. Would it be possible to create another variable specifying a duration before the created vouchers are deleted?

It would also be helpful to have information in the portal stating that vouchers can be created, for example, 2 weeks in advance.

Of course, I could also choose not to delete the generated vouchers. However, from an IT perspective, a well-maintained and organized system is desirable.

Thanks again!
Dominik

Originally created by @idominiki on GitHub (Feb 13, 2026). Original GitHub issue: https://github.com/glenndehaan/unifi-voucher-site/issues/125 Originally assigned to: @glenndehaan on GitHub. ### The feature Hi @glenndehaan I have one more feature request for our schools. While setting `TASK_CLEANUP_UNUSED: 'true'` unused vouchers are cleanup a day after creation. For our schools, it can be helpful to create guest Wi-Fi vouchers in advance for training sessions, etc. Would it be possible to create another variable specifying a duration before the created vouchers are deleted? It would also be helpful to have information in the portal stating that vouchers can be created, for example, 2 weeks in advance. Of course, I could also choose not to delete the generated vouchers. However, from an IT perspective, a well-maintained and organized system is desirable. Thanks again! Dominik
BreizhHardware 2026-05-07 00:18:40 +02:00
Author
Owner

@glenndehaan commented on GitHub (Feb 13, 2026):

Hi @idominiki,

I have just released version 8.9.0. This includes a new TASK_CLEANUP_UNUSED_DAYS environment variable.
This allows you to specify the number of days to keep the vouchers before they are cleaned.

Kind regards,
Glenn de Haan

<!-- gh-comment-id:3898544100 --> @glenndehaan commented on GitHub (Feb 13, 2026): Hi @idominiki, I have just released version `8.9.0`. This includes a new `TASK_CLEANUP_UNUSED_DAYS` environment variable. This allows you to specify the number of days to keep the vouchers before they are cleaned. Kind regards, Glenn de Haan
Author
Owner

@idominiki commented on GitHub (Feb 13, 2026):

Hi @glenndehaan

again: Thank you!

<!-- gh-comment-id:3899304991 --> @idominiki commented on GitHub (Feb 13, 2026): Hi @glenndehaan again: Thank you!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/unifi-voucher-site#71
No description provided.