[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 2 21:11:22 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2389
--- Comment #9 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 55143
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=55143&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.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list