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

Michael Hafen <michael.ha...@washk12.org> changed:

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

--- Comment #9 from Michael Hafen <michael.ha...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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