Koha/misc/cronjobs
Marcel de Rooy 2ca2585b1c Bug 21336: Adjust cleanup_database.pl
Add the new Patron routines to this cron job. Actions are performed only if
preferences are set.

Note: No specific command line flags for these actions are added here
(and probably not needed too). So no crontab changes too.

Test plan:
Add a new patron.
Enable GDPR_Policy and refuse consent on OPAC for this patron.
Set only the first delay to zero (0) for immediate action.
Run cleanup_database.pl --logs (or any other flag) for the first time.
Check lock and expiration.
Set the second delay to zero (0) for immediate action.
Run cleanup_database.pl --logs for the second time. Check anonymization.
Set the third delay to zero (0) for immediate action.
Run cleanup_database.pl --logs for the third time. Check removal.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Amended: Added the warn $@ line in cleanup_database.pl

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-04-17 12:25:24 +00:00
..
holds Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
rss Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
social_data Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
thirdparty Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
advance_notices.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
automatic_item_modification_by_age.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
automatic_renewals.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
backup.sh Bug 9235 - Hardcoded values in cronjobs/backup.sh 2012-12-21 07:20:50 -05:00
batch_anonymise.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
build_browser_and_cloud.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
cart_to_shelf.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
check-url-quick.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
check-url.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
cleanup_database.pl Bug 21336: Adjust cleanup_database.pl 2019-04-17 12:25:24 +00:00
cloud-kw.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
cloud-sample.conf Fixes bugs #2875-2879 2008-12-29 19:59:44 -06:00
CONFIGURE.gmail Bug 5251 : Enhancement: [3.2] (Resubmission) Adding code to support using gmail as an SMTP server 2011-04-08 14:01:15 +12:00
create_koc_db.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
crontab.example Bug 21235: Remove table services_throttle 2018-09-07 15:09:39 +00:00
delete_expired_opac_registrations.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
delete_items.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
delete_patrons.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
delete_records_via_leader.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
edi_cron.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
fines.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
gather_print_notices.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
import_webservice_batch.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
j2a.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
longoverdue.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
membership_expiry.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
merge_authorities.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
notice_unprocessed_suggestions.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
overdue_notices.pl Bug 20937: Truncate items for print notices when user has an email 2019-04-11 11:47:59 +00:00
printoverdues.sh Bug 10127 : Printoverdues.sh should tar only pdf files 2013-07-16 15:47:13 +00:00
process_message_queue.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
purge_suggestions.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
reconcile_balances.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
remove_temporary_edifiles.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
runreport.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
serialsUpdate.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
share_usage_with_koha_community.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
sitemap.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
staticfines.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
stockrotation.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
update_totalissues.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00