Koha/misc/cronjobs
Nick Clemens 3d385d0e11
Bug 29507: Speed up auto renew cronjob via parallel processing
The cron can take a very long time to run on systems with many issues.
For example, a partner with ~250k auto_renew issues is taking about 9 hours to run.

If we run that same number of issues in 5 parallel chunks
( splitting the number of issues as evenly as possible ), it could take under 2 hours.

Test Plan:
1) Generate a number of issues marked for auto_renew
2) Run the automatic_renewals.pl, use the `time` utility to track how much time it took to run
3) Set parallel_loops to 10 in auto_renew_cronjob section of config in koha-conf
4) Repeat step 2, note the improvement in speed
5) Experiment with other values

Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-07-05 15:48:11 +02:00
..
holds Bug 36330: Change 'reseve' to 'reserve' 2024-06-13 14:27:15 +01:00
recalls
rss
social_data
thirdparty
advance_notices.pl
archive_purchase_suggestions.pl
automatic_checkin.pl
automatic_item_modification_by_age.pl
automatic_renewals.pl Bug 29507: Speed up auto renew cronjob via parallel processing 2024-07-05 15:48:11 +02:00
backup.sh
batch_anonymise.pl
build_browser_and_cloud.pl
cart_to_shelf.pl
check-url-quick.pl
cleanup_database.pl
cloud-kw.pl Bug 36367: Remove context stack 2024-06-14 11:17:18 +01:00
cloud-sample.conf
CONFIGURE.gmail
create_koc_db.pl
crontab.example
debar_patrons_with_fines.pl
delete_items.pl
delete_patrons.pl
delete_records_via_leader.pl
edi_cron.pl
erm_run_harvester.pl
fines.pl
gather_print_notices.pl Bug 32575: Add an empty text body to fix multipart/mixed handling 2024-06-28 13:49:20 +02:00
import_webservice_batch.pl Bug 33418: Add overlay_framework option to connexion scripts 2024-05-10 16:45:50 +02:00
longoverdue.pl Bug 35169: (QA follow-up) Fix spelling and preference name 2024-05-07 15:53:49 +02:00
membership_expiry.pl
merge_authorities.pl
notice_unprocessed_suggestions.pl
overdue_notices.pl
patron_emailer.pl
plugins_nightly.pl
printoverdues.sh
process_message_queue.pl Bug 37075: Message queue processor will fail to send any message unless letter_code is passed 2024-06-21 15:02:46 +02:00
purge_suggestions.pl
reconcile_balances.pl
remove_temporary_edifiles.pl
runreport.pl
serialsUpdate.pl
share_usage_with_koha_community.pl
sitemap.pl
staticfines.pl Bug 36787: staticfines.pl add use Koha::DateUtils::output_pref 2024-05-07 17:41:20 +02:00
stockrotation.pl
update_patrons_category.pl
update_totalissues.pl
writeoff_debts.pl Bug 34077: Allow to use --category-code as the only filter option 2024-06-13 14:16:05 +01:00