[Koha-bugs] [Bug 2389] overdue_notices.pl needs a test mode
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Sep 23 18:58:06 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2389
Barton Chittenden <barton at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #55383|0 |1
is obsolete| |
--- Comment #13 from Barton Chittenden <barton at bywatersolutions.com> ---
Created attachment 55782
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=55782&action=edit
Bug 2389: Add --test switch to overdue_notices.pl
This patch adds the --test option switch to the overdue_notices.pl script
so it can be ran without doing any actual action.
To test:
- Have a patron with overdue items (simulate a checkout for a past date. Note
it implies
that the circ rules are defined so the patron is overdue)
- Run:
$ sudo koha-shell kohadev
koha-dev$ misc/cronjobs/overdue_notices.pl --test
=> SUCCESS: The script is ran but the patron isn't debarred and no notice
messages are queued.
Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
Signed-off-by: Barton Chittenden <barton at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list