Koha/misc/cronjobs
Katrin Fischer 596ddef3c3 Bug 11144: Fix sequence of cronjobs: automatic renewal - fines - overdue notices
The patch changes the sequence of cronjobs in the crontab example
file and in the cron.daily file of the packages.

This is why:
1) Renew automatically
   ... only when we can't renew, we want to
2) Calculate fines
   ... once the fine are calculated and charged
   we can print the amount into the
3) Overdue notices

Before the change it could happen that you'd charge for an item,
that would then be renewed. Or that you'd try to print fine
amounts into the overdue notices, when they would only be
charged moments later.

To test:
- configure your system so you have items that should
  - be charged with fines
  - renew automatically
- configure your crontabs according to the example file
  or switch the cron.daily in your package installation with
  the new one
- configure your overdue notices so that one should be generated
  <<items.fine>>
- Wait for the cronjobs or schedule them to run earlier
- Verify all is well and as it should be

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-09-02 13:51:32 +00:00
..
holds Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00
rss Bug 14383: misc: Fix some typos in comments and documentation 2015-06-22 17:34:45 -03:00
social_data Bug 15193 - Perl scripts missing exec permission 2015-12-11 16:36:08 +00:00
thirdparty Bug 9004: Use Koha::Calendar instead of C4::Calendar 2016-04-29 12:01:24 +00:00
advance_notices.pl Bug 15629: Koha::Libraries - Remove GetBranchDetail 2016-02-24 03:55:06 +00:00
automatic_item_modification_by_age.pl Bug 11023: Automatic item modification by age (Was Toggle "new" status") 2016-03-02 22:56:31 +00:00
automatic_renewals.pl Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00
backup.sh Bug 9235 - Hardcoded values in cronjobs/backup.sh 2012-12-21 07:20:50 -05:00
batch_anonymise.pl Bug 14960: Remove C4::Dates from files in misc/cronjobs 2015-11-17 15:36:43 -03:00
build_browser_and_cloud.pl Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00
cart_to_shelf.pl Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00
check-url-quick.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
check-url.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
cleanup_database.pl Bug 16672: Fix typo unqiue vs unique 2016-06-17 15:45:54 +00:00
cloud-kw.pl Bug 14383: misc: Fix some typos in comments and documentation 2015-06-22 17:34:45 -03:00
cloud-sample.conf Fixes bugs #2875-2879 2008-12-29 19:59:44 -06:00
CONFIGURE.gmail Bug 5251 : Enhancement: [3.2] (Resubmission) Adding code to support using gmail as an SMTP server 2011-04-08 14:01:15 +12:00
create_koc_db.pl Bug 9978: (followup) Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:43 -03:00
crontab.example Bug 11144: Fix sequence of cronjobs: automatic renewal - fines - overdue notices 2016-09-02 13:51:32 +00:00
delete_expired_opac_registrations.pl Bug 13049: [QA Follow-up] Remove unneeded module 2015-07-28 10:24:02 -03:00
delete_items.pl Bug 14504: (followup) Make deletion conditional on --commit 2016-08-26 12:07:27 +00:00
delete_patrons.pl Bug 10612: (QA followup) 2016-04-01 19:52:14 +00:00
delete_records_via_leader.pl Bug 14504: (QA followup) Fix delete_records_via_leader.pl call to DelItemCheck 2016-08-26 12:07:26 +00:00
delete_unverified_opac_registrations.pl Bug 13049: [QA Follow-up] Remove unneeded module 2015-07-28 10:24:02 -03:00
edi_cron.pl Bug 15630 - Make Edifact module pluggable 2016-04-01 21:31:28 +00:00
fines.pl Bug 15675 - Add issue_id column to accountlines and use it for updating fines 2016-03-02 03:24:45 +00:00
gather_print_notices.pl Bug 14960: Remove C4::Dates from files in misc/cronjobs 2015-11-17 15:36:43 -03:00
import_webservice_batch.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
j2a.pl Bug 15742 [QA Followup] - Tidy script 2016-02-23 21:19:08 +00:00
longoverdue.pl Bug 15548: Move new patron related code to Patron* 2016-03-03 14:38:26 -07:00
MARC21_parse_test.pl Bug 16011: $VERSION - Remove comments 2016-03-24 17:20:29 +00:00
membership_expiry.pl Bug 15543: Use another notice in membership_expiry.pl 2016-04-29 16:58:58 +00:00
nl-sync-from-koha.pl Bug 15193 - Perl scripts missing exec permission 2015-12-11 16:36:08 +00:00
nl-sync-to-koha.pl Bug 15193 - Perl scripts missing exec permission 2015-12-11 16:36:08 +00:00
notice_unprocessed_suggestions.pl Bug 15629: Koha::Libraries - Remove GetBranchDetail 2016-02-24 03:55:06 +00:00
overdue_notices.pl Bug 12509 - Fix Untranslatable Restriction added by overdues process 2016-07-08 12:41:47 +00:00
printoverdues.sh Bug 10127 : Printoverdues.sh should tar only pdf files 2013-07-16 15:47:13 +00:00
process_message_queue.pl Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00
purge_suggestions.pl Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00
remove_temporary_edifiles.pl Bug 7736: Support Ordering via Edifact EDI messages 2016-04-01 20:03:17 +00:00
runreport.pl Bug 16011: $VERSION - Remove comments 2016-03-24 17:20:29 +00:00
serialsUpdate.pl Bug 14960: Remove C4::Dates from files in misc/cronjobs 2015-11-17 15:36:43 -03:00
services_throttle.pl Minor updates to minor cronjob script. 2008-12-31 09:47:54 -06:00
share_usage_with_koha_community.pl Bug 16039: Remove useless exit 2016-03-23 20:57:22 +00:00
sitemap.pl Bug 16751: What is sitemaper? 2016-06-24 13:19:06 +00:00
staticfines.pl Bug 14960: Simplify the date management in staticfines 2015-11-17 15:36:51 -03:00
update_totalissues.pl Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00