Koha/misc/cronjobs
Ryan Higgins 4104c69757 Bug 2660: Add command-line options to overdue notice script.
This commit adds two options to the overdue_notices.pl script.
The notices are now generated in one of two modes: default or triggered.
In default mode, every time the script runs, a notice is generated if an item
is overdue within a notice date range.  This mode is suitable for a weekly cron
(or manual run), but the notice triggers should be syncronized with the cron script such that
the script is run once per notice date range.  Otherwise, duplicate messages will
be generated ( or no notice generated if a notice date range passes without the script being run).
Triggered mode is suitable for a nightly cron job: a notice is generated only on those
days that an overdue item enters a notice date range.  This mode is susceptible to message
loss when the cron script fails to run, or when notice triggers are edited.

A second flag is added: --list-all, which causes items.content to list all currently overdue items.
Without this flag, only items that are overdue within the given notice's date range are listed on
that notice.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-10-21 10:35:34 -05:00
..
holds bug 2677: restore RandomizeHoldsQueueWeight and StaticHoldsQueueWeight 2008-10-16 09:50:52 -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 2594: fixing SQL statement to populate patron information in offline circulation db 2008-09-11 07:56:59 -05:00
crontab.example Updates to the example crontab 2008-08-10 15:18:48 -05:00
fines.pl Fines fixes: apparent problems with fines prevent processing. 2008-08-29 20:31:41 -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 Still fixing permission and first line of scripts 2008-08-20 20:23:54 -05:00
overdue_notices.pl Bug 2660: Add command-line options to overdue notice script. 2008-10-21 10:35:34 -05:00
process_message_queue.pl Usage option correction (-h not -n) 2008-08-28 09:22:55 -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 No 'BOM' marker for a script file 2008-08-20 20:23:54 -05: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