[Koha-bugs] [Bug 9596] Allow longoverdue.pl to be configured by library

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 16 23:34:52 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9596

Michael Hafen <michael.hafen at washk12.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #162070|0                           |1
        is obsolete|                            |

--- Comment #9 from Michael Hafen <michael.hafen at washk12.org> ---
Created attachment 162250
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162250&action=edit
Bug 9596: Add branch and skip-branch options to cronjobs/longoverdue.pl

[ Tidied and commit message fixed ]

This script doesn't seem to be included in cron files by default.
This change is to allow script parameters to effect only certain branches.
This allows the script to be added multiple times to a cron file with
  different settings for different branches.

Test plan:
1. apply patch
2. identify two books at different branches the same number of days overdue.
3. run the longoverdue.pl script specifying one of the branches in the
     --branch command line parameter.
     i.e. koha-shell -c 'misc/cronjobs/longoverdue.pl --branch branch_code
--lost 60=2 --maxdays=61 --confirm' instance_name
4. observe that the book at the specified branch has been or would be affected
     by the script while the other book is not.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list