[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 9 01:33:42 CEST 2016


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

Chris Cormack <chris at bigballofwax.co.nz> changed:

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

--- Comment #10 from Chris Cormack <chris at bigballofwax.co.nz> ---
Created attachment 55383
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=55383&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>

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


More information about the Koha-bugs mailing list