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
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
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
services_throttle.pl
smsoverdues.pl No 'BOM' marker for a script file 2008-08-20 20:23:54 -05:00
update_items.pl
zebraqueue_start.pl