Summary: | Holds reminder cronjob --triggered switch does not work as intended if the day to send notice hits concurrent holidays | ||
---|---|---|---|
Product: | Koha | Reporter: | Lari Strand <lmstrand> |
Component: | Command-line Utilities | Assignee: | Bugs List <koha-bugs> |
Status: | NEW --- | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | esther.melander, kebliss, robin |
Version: | 23.11 | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: |
Description
Lari Strand
2024-01-04 10:45:45 UTC
I have seen this behavior recently on a site, but it was occurring on a single holiday. The library is only closed on Sundays. The hold reminder notice was hitting and sending on the closed Sunday and sending a duplicate notice on the next open day, Monday. The calendars for the impacted branches had Sundays set as a holiday. This is the cron configuration: echo "running holds_reminder.pl at $(date +%Y%m%d":"%H":"%M":"%S)" $KOHA_CRON_PATH/holds/holds_reminder.pl -holidays -t -days 3 --confirm echo "done running holds_reminder.pl at $(date +%Y%m%d":"%H":"%M":"%S)" |