Koha/misc/cronjobs
Rogan Hamby 5e2fe4418d
Bug 18414: Allow to use other select criteria with delete_patrons.pl
Adds the ability to specify a file with the --file flag that
should be a list of borrowernumbers for deletion.
If used without other flags it will delete the list of borrowers,
if used with other flags it will treat the other criteria
as filters for the list.

To Test:
1) Specify a list, e.g. borrowers.txt, of borrowernumbers in the database and put them in a text file with one per line
2) Invoke the script like ./delete_patrons.pl --file borrowers.txt to delete those patrons
3) Populate the list with a mix of borrowers in a category and those not, say categoryfoo
4) Invoke the scirpt as ./delete_patrons.pl --category_code categoryfoo --file borrowers.txt
5) Only the borrowers in the file that have the specified category will be deleted

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-03-24 10:42:18 +00:00
..
holds
rss Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
social_data
thirdparty
advance_notices.pl
automatic_item_modification_by_age.pl
automatic_renewals.pl Bug 24526: Add the confirm flag to the cronjob files 2020-02-10 10:13:35 +00:00
backup.sh
batch_anonymise.pl
build_browser_and_cloud.pl
cart_to_shelf.pl
check-url-quick.pl
check-url.pl
cleanup_database.pl Bug 24114: (QA follow-up) Fix counts for lock, anonymize and delete 2020-02-24 13:17:39 +00:00
cloud-kw.pl
cloud-sample.conf
CONFIGURE.gmail Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
create_koc_db.pl
crontab.example Bug 24526: Add the confirm flag to the cronjob files 2020-02-10 10:13:35 +00:00
delete_items.pl Bug 23463: Remove DelItemCheck and ItemSafeToDelete 2020-03-23 09:26:31 +00:00
delete_patrons.pl Bug 18414: Allow to use other select criteria with delete_patrons.pl 2020-03-24 10:42:18 +00:00
delete_records_via_leader.pl Bug 24324: Resolve error with delete_records_via_leader.pl 2020-03-24 08:03:30 +00:00
edi_cron.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
fines.pl Bug 21633: Remove finesMode 'test' 2020-02-19 11:32:11 +00:00
gather_print_notices.pl Bug 23084: Replace grep {^$var$} with grep {$_ eq $var} 2020-02-17 10:44:45 +00:00
import_webservice_batch.pl
longoverdue.pl Bug 23463: Replace ModItem with Koha::Item->store 2020-03-23 09:26:30 +00:00
membership_expiry.pl
merge_authorities.pl
notice_unprocessed_suggestions.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
overdue_notices.pl Bug 23411: Do not fall back to 'email' for SMS messages 2020-03-20 15:19:27 +00:00
patron_emailer.pl
printoverdues.sh
process_message_queue.pl
purge_suggestions.pl
reconcile_balances.pl
remove_temporary_edifiles.pl
runreport.pl
serialsUpdate.pl
share_usage_with_koha_community.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
sitemap.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
staticfines.pl Bug 21633: Remove finesMode 'test' 2020-02-19 11:32:11 +00:00
stockrotation.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
update_patrons_category.pl
update_totalissues.pl Bug 24527: misc/cronjobs/update_totalissues.pl problem with multiple items 2020-02-24 13:14:24 +00:00