Bug 38405

Summary: restrict_patrons_with_failed_notices.pl cronjob should take a --days parameter
Product: Koha Reporter: Aleisha Amohia <aleisha>
Component: Command-line UtilitiesAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: robin
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Aleisha Amohia 2024-11-07 22:54:58 UTC
The new restrict_patrons_with_failed_notices.pl cronjob uses a Koha::Notice::Messages->get_failed_notices subroutine which takes days as a parameter, but the script hardcodes to 7 days.

We should enable the script to take and ues a --days parameter