Koha/misc/cronjobs
Andrew Moore 556d9cc43d bug 2503: refactoring and bugfixing on create_koc_db.pl
This is the script that generates the patron and holdings database for the offline circ module. I
touched up a few parts of it:

* fixed the database syntax to squash a bug or two
* extracted some methods for readability and reuse
* added some documentation
* added a --file and --force command line argument
* made it die if DBD::SQLite is not present. That module is required for this feature.

Here's an example crontab line that will generate the borrowers.db file each midnight.

0 0 * * * create_koc_db.pl --file /tmp/borrowers.db

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-08-20 17:05:25 -05:00
..
holds bug 2527: avoid targeting of items on hold shelf 2008-08-18 07:17:36 -05:00
stats Adding three statistics files that NPL uses, they don't 2008-08-10 15:38:42 -05:00
advance_notices.pl Bug 2176 (3/5): adding methods to manage message_queue, new advance_notices.pl, new C4::SMS module 2008-06-20 13:04:52 -05:00
backup.sh add single-transaction flag to mysqldump in example backup script. 2008-06-03 06:00:49 -05:00
build_browser_and_cloud.pl installer: command-line scripts improve finding C4 modules 2007-12-17 09:13:54 -06:00
create_koc_db.pl bug 2503: refactoring and bugfixing on create_koc_db.pl 2008-08-20 17:05:25 -05:00
crontab.example Updates to the example crontab 2008-08-10 15:18:48 -05:00
fines.pl Update fines cronjob: remove redundant scripts, remove some superfluous code in remaining fines.pl. 2008-08-10 13:06:52 -05:00
j2a.pl installer: command-line scripts improve finding C4 modules 2007-12-17 09:13:54 -06:00
longoverdue.pl Update longoverdue.pl cron job to manage setting lost values. 2008-08-10 15:54:29 -05:00
notifyMailsOp.pl created old_issues and old_reserves tables 2008-03-15 08:36:31 -05:00
overdue_notices.pl Revert "Add missing to and from email addresses to user and admin EnqueueLetter calls, respectively. Add extra level to verbosity." 2008-08-08 10:51:45 -05:00
process_message_queue.pl Bug 2176 (3/5): adding methods to manage message_queue, new advance_notices.pl, new C4::SMS module 2008-06-20 13:04:52 -05:00
reservefix.pl bugfix : ship utf-8 encoding in mail header 2008-05-12 10:07:55 -05:00
services_throttle.pl installer: command-line scripts improve finding C4 modules 2007-12-17 09:13:54 -06:00
smsoverdues.pl installer: command-line scripts improve finding C4 modules 2007-12-17 09:13:54 -06:00
update_items.pl created old_issues and old_reserves tables 2008-03-15 08:36:31 -05:00
zebraqueue_start.pl installer: command-line scripts improve finding C4 modules 2007-12-17 09:13:54 -06:00