https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39193 Bug ID: 39193 Summary: Add option -DAYS to delete_patrons.pl Change sponsored?: --- Product: Koha Version: 24.05 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Command-line Utilities Assignee: koha-bugs@lists.koha-community.org Reporter: koha@collecto.ca QA Contact: testopia@bugs.koha-community.org CC: robin@catalyst.net.nz Hi ! For example, Batch_anonymise.pl has this option : --days DAYS anonymise patron history that is older than DAYS days. It would be super helpful if deleted_patrons.pl had a similar option for deleting patrons that are expired since -DAYS number of days. We would like to automate the patron's purge, but right now the only option is to choose a specific date, wish means that we can't run the cronjob automaticaly without having to choose a new date. Having the -DAYS option, we could run automaticaly the cronjob, for example, every month with -365 so every month patrons that are expired since at least 1 year are deleted. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.