mirror of
https://github.com/glenndehaan/unifi-voucher-site.git
synced 2026-05-09 08:25:29 +02:00
[GH-ISSUE #125] TASK_CLEANUP_UNUSED Timer #71
Labels
No labels
bug
enhancement
pull-request
question
question
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/unifi-voucher-site#71
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@glenndehaan commented on GitHub (Feb 13, 2026):
Hi @idominiki,
I have just released version
8.9.0. This includes a newTASK_CLEANUP_UNUSED_DAYSenvironment variable.This allows you to specify the number of days to keep the vouchers before they are cleaned.
Kind regards,
Glenn de Haan
@idominiki commented on GitHub (Feb 13, 2026):
Hi @glenndehaan
again: Thank you!