Koha-clms/misc
Marcel de Rooy 9ad9e65d3f Enhancement 5074 (Adding possibility to cleanup_database.pl to purge only older sessions) [for 3.0.x and master]
Currently, the misc/cronjobs script cleanup_database truncates the session table (deleting all records, including active sessions).
With an additional parameter sessdays, this behavior could be changed or (perhaps better) extended. If the parameter sessdays is passed along with a number of days, the script only deletes older session records. This is accomplished by examining the values of lasttime, atime or ctime in the record.
So, calling the script like:
  ./cleanup_database.pl -v -sessions -sessdays 7
will only delete sessions records older than 7 days. The "old style" call
  ./cleanup_database.pl -v -sessions
still works too and truncates the table as before.
Patch can be applied to 3.0.x and master.
2010-07-29 15:56:04 +02:00
..
bin Have zebrasrv log less 2008-10-28 22:09:22 +01:00
cronjobs Enhancement 5074 (Adding possibility to cleanup_database.pl to purge only older sessions) [for 3.0.x and master] 2010-07-29 15:56:04 +02:00
installer_devel_notes/data/en/marcflavour replacing SHELF_LOC by LOC, as decided with kados on the chat 2007-12-26 14:33:02 -06:00
load_testing Adding a couple benchmark scripts 2008-03-20 08:40:48 -05:00
maintenance (bug #3688) add index for acqdate in unimarc and fix maintenance script 2009-10-05 07:39:25 +02:00
migration_tools MT3915: deleted biblios would stick in zebra indexes 2010-07-05 14:05:14 +02:00
release_notes Changing version to 3.0.6 2010-05-17 12:23:55 +02:00
spellcheck_suggest kohabug 2345: bad comparisons pervade reports 2008-07-27 06:11:08 -05:00
translator Intranet po file updates 2010-05-15 20:42:05 +12:00
batchCompareMARCvsFrameworks.pl Avoid numeric comparisons with leading zeroes 2009-09-16 23:19:28 +02:00
batchDeleteUnusedSubfields.pl remove some unneeded use statements 2008-03-21 21:46:29 -05:00
batchImportMARCWithBiblionumbers.pl do not let MARC::Batch open MARC files 2008-03-21 21:46:39 -05:00
batchRebuildBiblioTables.pl batchRebuildBiblioTables.pl doesn't crash anymore when GetMarcBiblio fails. 2010-05-14 09:27:45 +02:00
batchRepairMissingBiblionumbers.pl Repair the old repairmissingbiblionumbers script 2009-05-26 21:15:12 +02:00
batchupdateISBNs.pl bugfixing batchupdateISBN.pl 2008-05-20 12:55:06 -05:00
check_sysprefs.pl moving some files and deleting cataloguing/updateitem.pl, the _real_ updateitem.pl is in catalogue/ 2007-12-30 12:09:52 -06:00
commit_biblios_file.pl speed boost: command-line stage and commit biblios 2008-01-03 16:26:24 -06:00
exportauth.pl bug 2615: remove unneeded 'require Exporter' 2008-10-28 22:09:32 +01:00
koha-install-log kohabug 1776 - try to locate Zebra during install 2008-04-22 17:59:00 -05:00
kohalib.pl Still fixing permission and first line of scripts 2008-10-28 22:09:24 +01:00
link_bibs_to_authorities.pl bug 2258 - do not duplicate embedded items 2008-06-18 19:25:07 -05:00
perlmodule_ls.pl fixing nomenclature on files in misc/, adding a few new utilities 2007-12-30 12:13:34 -06:00
perlmodule_rm.pl fixing nomenclature on files in misc/, adding a few new utilities 2007-12-30 12:13:34 -06:00
sax_parser_print.pl Bug 2617: Add strict (and warnings), partial fix. 2009-05-26 21:15:01 +02:00
sax_parser_test.pl fixing nomenclature on files in misc/, adding a few new utilities 2007-12-30 12:13:34 -06:00
stage_biblios_file.pl Add no-replace option to stage_biblios_file.pl, allowing incoming bibs to not overwrite existing bibs. 2008-07-18 13:22:31 -05:00