Bug 38405 - restrict_patrons_with_failed_notices.pl cronjob should take a --days parameter
Summary: restrict_patrons_with_failed_notices.pl cronjob should take a --days parameter
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Command-line Utilities (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-07 22:54 UTC by Aleisha Amohia
Modified: 2024-11-07 22:54 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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