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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to