Bug 17719 - Cron Overdue Notices
Summary: Cron Overdue Notices
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Command-line Utilities (show other bugs)
Version: 16.05
Hardware: All Linux
: P5 - low enhancement (vote)
Assignee: Galen Charlton
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-04 21:14 UTC by Carlos Córdova
Modified: 2017-06-14 22:08 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Córdova 2016-12-04 21:14:12 UTC
Overdue Notices  notice does not work when the "OverdueNoticeCalendar" preference is in calendar use

How to play:
1.- set OverdueNoticeCalendar in use calendar
2.- verify that you have users with late payments
3.- Run perl /usr/share/koha/bin/cronjobs/overdue_notices.pl -t -v

Found 2 branches with first message enabled: 'library1', 'library2' ...

And does not process messages.

Thank you.
Comment 1 Katrin Fischer 2016-12-04 21:15:37 UTC
Was the day you ran the script a holiday? In this case the behaviour would be correct.
Comment 2 Carlos Córdova 2016-12-04 21:19:30 UTC
I run it Sunday, now I understand the behavior.
Thank you.
Comment 3 Katrin Fischer 2016-12-04 21:29:09 UTC
Yes, if Sunday is one of your holidays, no notices will be generated - that's intentional. Marking resolved fixed for now :)