A few notes:
- I grabbed this list by looking for things in misc/ that had cronlogaction
- I didn't touch scripts that aren't in the cronjobs directory, except
fix_invalid_dates where I follow import_patrons and only log if confirmed
since they aren't crons, I figure this seems reasonable
- purge_suggestions I moved the logggin up and changed the addition of
effective days to a verbose message - this seems more consistent
To test:
1 - Enable CronjobLog
2 - On command line:
perl misc/cronjobs/cleanup_database.pl --old_reservers 550
3 - Error on command line
4 - In staff client, go to Tools->Log viewer, check 'Cronjobs' and submit
5 - No entries
6 - Apply patch
7 - Repeat and see run is logged with wrong parameter
8 - Fix parameter and confirm
9 - Spot check other files until you are satisfied
10 - Sign it off!
Signed-off-by: William Lavoie <william.lavoie@inLibro.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
|
||
|---|---|---|
| .. | ||
| UNIMARC_fix_collectiontitle.pl | ||
| UNIMARC_sync_date_created_with_marc_biblio.pl | ||
| acq_cancel_obsolete_orders.pl | ||
| audit_database.pl | ||
| auth_show_hidden_data.pl | ||
| borrowers-force-messaging-defaults.pl | ||
| check_syspref_cache.pl | ||
| check_sysprefs.sh | ||
| cmp_sysprefs.pl | ||
| compare_es_to_db.pl | ||
| dedup_authorities.pl | ||
| fix_accountlines_date.pl | ||
| fix_accountlines_rmdupfines_bug8253.pl | ||
| fix_invalid_dates.pl | ||
| fix_mysql_constraints.pl | ||
| fix_tags_weight.pl | ||
| generate_MARC21Languages.pl | ||
| make_zebra_dom_cfg_from_record_abs | ||
| process_record_through_filter.pl | ||
| pseudonymize_statistics.pl | ||
| remove_items_from_biblioitems.pl | ||
| sanitize_records.pl | ||
| search_for_data_inconsistencies.pl | ||
| sync_db_comments.pl | ||
| touch_all_biblios.pl | ||
| touch_all_items.pl | ||
| update_authorities.pl | ||
| update_localuse_from_statistics.pl | ||