Koha/misc/cronjobs
Jonathan Druart aa8ee99fb7 Bug 25624: Add --where option to update_patrons_category.pl
The script did not allow to find empty fields or use wildcards

With this new option we will now have the ability to filter patrons by
some of their attributes.

Test plan:
1 - Run the script with no parameters and verify the help explains the parameters
2 - Try the script with one or more --where parameters, like:
  --where "firstname='koha'"
3 - Test null values
  --where "firstname IS NULL"
4 - Test like values with wildcards
  --where "firstname LIKE '%a%'
5 - Test like with the word null to find fields containing the word rather than being unset

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-09-28 16:09:10 +02:00
..
holds Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
rss Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
social_data
thirdparty Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
advance_notices.pl Bug 24268: Break assignment and warn into separate actions 2019-12-20 12:06:00 +00:00
archive_purchase_suggestions.pl Bug 22784: Add a cronjob to archive suggestions given age or status criteria 2020-04-14 16:22:02 +01:00
automatic_item_modification_by_age.pl Bug 20101: Cronjob automatic_item_modification_by_age.pl does not log run in action logs 2020-04-17 09:17:52 +01:00
automatic_renewals.pl Bug 25758: Return on_reserve over too_soon when not calling from automatic_renewals cron 2020-09-28 11:08:03 +02:00
backup.sh
batch_anonymise.pl
build_browser_and_cloud.pl Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
cart_to_shelf.pl
check-url-quick.pl
check-url.pl
cleanup_database.pl Bug 24153: (QA follow-up) Removing one redundant initialization line 2020-07-20 16:08:22 +02: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 24153: Add the confirm flag to the crontab calls 2020-07-20 16:08:22 +02:00
delete_items.pl Bug 23463: Remove DelItemCheck and ItemSafeToDelete 2020-03-23 09:26:31 +00:00
delete_patrons.pl Bug 25157: Silent patron deletion cmd line script 2020-05-11 09:57:07 +01: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 23682: Fix use Koha::Plugins::Handler statements 2020-09-03 15:00:48 +02:00
fines.pl Bug 23571: (QA follow-up) Add missing newline in warning 2020-04-14 16:59:15 +01:00
gather_print_notices.pl Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
import_webservice_batch.pl
longoverdue.pl Bug 25958: (QA follow-up) Implement filter in database query instead of in loop 2020-08-25 12:01:43 +02: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 26420: Use translated notices for overdue_notices.pl 2020-09-18 10:38:05 +02:00
patron_emailer.pl
printoverdues.sh
process_message_queue.pl Bug 25097: Add option to message_queue to allow for only specific sending notices 2020-06-24 15:15:41 +02:00
purge_suggestions.pl
reconcile_balances.pl Bug 24266: (alternate patch) Only use defined borrowernumbers in reconcile_balances.pl cron 2020-04-14 08:21:31 +01:00
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 22589: Remove C4::Overdues::BorType 2020-03-24 10:57:55 +00:00
stockrotation.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
update_patrons_category.pl Bug 25624: Add --where option to update_patrons_category.pl 2020-09-28 16:09:10 +02:00
update_totalissues.pl Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00