Koha/misc/cronjobs
Olli-Antti Kivilahti 3e8607e075 Bug 12396 - MTT FIX: Due notices (DUEDGST) are multiplicated and all of them are sent to everybody who is about to receive ODUEDGST.
So the first patron receives correct letters, but the followings received
all the previous ones AND his letters.
Eventually you end up with !n letters in message_queue where n = amount of patrons
receiving due messages as digest and having something due.

Eventually we got 4 000 000 ODUEDGST-letters of which 1 100 000 were sent to our patrons :)
This is madness!

Test plan:
0/ Delete the content of the message_queue table.
1/ Pick 3 patrons and set them to receive due messages as digest.
2/ Check 1 item out for 3 separate patrons and specify a due date today.
3/ Launch the advance_notices.pl script.
4/ Before this patch, you got 6 notices (1+2+3 [!n]). Now, you get 3 notices, 1 for each patron.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Problem exis.
Patch work as described following test plan.
No koha-qa errors

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2014-06-15 11:14:45 -03:00
..
holds
rss
social_data
thirdparty Bug 11867: MTT: Manage *_PHONE notices 2014-05-02 20:29:20 +00:00
advance_notices.pl Bug 12396 - MTT FIX: Due notices (DUEDGST) are multiplicated and all of them are sent to everybody who is about to receive ODUEDGST. 2014-06-15 11:14:45 -03:00
backup.sh
batch_anonymise.pl
build_browser_and_cloud.pl
cart_to_shelf.pl
check-url-quick.pl
check-url.pl
cleanup_database.pl Bug 9032: (follow-up) restore documented intepretation of virtualshelfshares.sharedate 2014-04-20 22:52:21 +00:00
cloud-kw.pl
cloud-sample.conf
CONFIGURE.gmail
create_koc_db.pl
crontab.example Bug 9032: (follow-up) restore documented intepretation of virtualshelfshares.sharedate 2014-04-20 22:52:21 +00:00
delete_expired_opac_registrations.pl
delete_patrons.pl
delete_unverified_opac_registrations.pl
fines.pl
gather_print_notices.pl
import_webservice_batch.pl
j2a.pl Bug 10611: Use mysql_auto_reconnect instead of ping 2014-03-10 23:15:35 +00:00
longoverdue.pl
MARC21_parse_test.pl
overdue_notices.pl Bug 9016: (follow-up) treat missing transports for overdue notices as warnings 2014-05-02 21:11:30 +00:00
printoverdues.sh
process_message_queue.pl
purge_suggestions.pl
runreport.pl Bug 12040: Add 3 parameters to runreport.pl for SMTP authentication 2014-04-11 16:11:52 +00:00
serialsUpdate.pl Bug 12003: Do not calculate next pubdate for irregular subscriptions 2014-04-18 20:57:51 +00:00
services_throttle.pl
staticfines.pl
update_totalissues.pl