Bug 17719

Summary: Cron Overdue Notices
Product: Koha Reporter: Carlos Córdova <carlos.cordovas>
Component: Command-line UtilitiesAssignee: Galen Charlton <gmcharlt>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: katrin.fischer, robin
Version: 16.05   
Hardware: All   
OS: Linux   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

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 :)