Koha/misc/cronjobs
Joonas Kylmälä 92dce6465e Bug 29381: Prevent sending of automatic renewal messages on every cron run
Currently the auto-renewal digest messages are sent on every cron run
even if there was nothing to renew or no renewal errors.

This regression was introduced in the commit "Bug 18532: Add
individual issues to digest notice and hide auto_renewals messaging
preference when not needed".

To test:
 1) set syspref AutoRenewalNotices to be according to patron
    preferences
 2) Enable renewal digest messages on a patron's messaging preferences
 3) Checkout a book for patron, during the checkout use the Checkout
 settings menu to check the box "Automatic renewal"
 4) Run
    $ perl misc/cronjobs/automatic_renewals.pl --send-notices --confirm --digest-per-branch
    $ perl misc/cronjobs/automatic_renewals.pl --send-notices --confirm --digest-per-branch
 5) Notice you have now two renewal messages for the patron
 6) Apply patch
 7) repeat step 4) and notice you don't get anymore these unnecessary
    renewal messages

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-11-24 09:43:45 +01:00
..
holds Bug 28153: Add 'Hold reminder' messaging preference 2021-10-18 11:28:41 +02:00
rss Bug 17600: Fix POSIX imports 2021-07-29 14:37:26 +02:00
social_data
thirdparty Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
advance_notices.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
archive_purchase_suggestions.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
automatic_checkin.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
automatic_item_modification_by_age.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
automatic_renewals.pl Bug 29381: Prevent sending of automatic renewal messages on every cron run 2021-11-24 09:43:45 +01:00
backup.sh
batch_anonymise.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
build_browser_and_cloud.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
cart_to_shelf.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
check-url-quick.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
cleanup_database.pl Bug 29395: use EXPORT_OK from Koha::Patron::Debarments 2021-11-03 15:40:52 +01:00
cloud-kw.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
cloud-sample.conf
CONFIGURE.gmail Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
create_koc_db.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
crontab.example Bug 23207: (QA follow-up) Add to cron files 2021-04-22 11:11:05 +02:00
delete_items.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
delete_patrons.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
delete_records_via_leader.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
edi_cron.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
fines.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
gather_print_notices.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
import_webservice_batch.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
longoverdue.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
membership_expiry.pl Bug 28456: Add WHERE option to membership_expiry cronjob 2021-08-30 17:02:07 +02:00
merge_authorities.pl Bug 17600: Fix missing C4::AuthoritiesMARC import 2021-07-29 15:34:25 +02:00
notice_unprocessed_suggestions.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
overdue_notices.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
patron_emailer.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
plugins_nightly.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
printoverdues.sh
process_message_queue.pl Bug 28474: Pass process_message_queue.pl params to before_send_messages plugin hooks 2021-11-03 15:40:52 +01:00
purge_suggestions.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
reconcile_balances.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
remove_temporary_edifiles.pl
runreport.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
serialsUpdate.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
share_usage_with_koha_community.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
sitemap.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
staticfines.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
stockrotation.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
update_patrons_category.pl Bug 29216: Correct --where documentation in update_patrons_category.pl 2021-10-21 10:21:50 +02:00
update_totalissues.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
writeoff_debts.pl Bug 28994: Fix logical errors with amount vs amoutoutstanding 2021-11-15 12:38:39 +01:00