Bug 2274 - combine the several overdues cronjobs into one
Summary: combine the several overdues cronjobs into one
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Command-line Utilities (show other bugs)
Version: Main
Hardware: PC All
: PATCH-Sent (DO NOT USE) blocker (vote)
Assignee: Galen Charlton
QA Contact:
URL:
Keywords:
Depends on:
Blocks: 27085
  Show dependency treegraph
 
Reported: 2008-06-23 12:25 UTC by Chris Cormack
Modified: 2020-11-24 12:53 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Database changes (2.67 KB, patch)
2008-07-01 06:09 UTC, Chris Cormack
Details | Diff | Splinter Review
overdue_notices.pl (22.39 KB, patch)
2008-07-01 06:10 UTC, Chris Cormack
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Cormack 2010-05-21 00:48:47 UTC


---- Reported by Andrew.moore@liblime.com 2008-06-23 12:25:56 ----

I plan on reorganizing the several overdues scripts into one as documented in:

http://www.mail-archive.com/koha-devel@lists.koha.org/msg00308.html

This essentially consists of:

make an overdue_notices.pl script that works and then:

overduenotices-30.pl will get folded into overdue_notices.pl
overduenotices-csv.pl will get folded into overdue_notices.pl
overduenoties.pl will get replaced by overdue_notices.pl
smsoverdues.pl will get replaced by overdue_notices.pl



---- Additional Comments From Andrew.moore@liblime.com 2008-07-01 06:09:25 ----

Created an attachment
Database changes

These are the database changes necessary to make the overdue_notices.pl script use the message_queue table instead of sending its own mails. It just lets us override the default "from" and "to" addresses.




---- Additional Comments From Andrew.moore@liblime.com 2008-07-01 06:10:51 ----

Created an attachment
overdue_notices.pl

This is mostly the new misc/cronjobs/overdue_notices.pl that I think will replace the three old ones. It is supposed to encompass all of the functionality of the other three. This is not yet a final version.





---- Additional Comments From jmf@liblime.com 2008-07-08 21:35:44 ----

There is currently no way to run overdue notices in Koha 3.0, so this bug needs to be fixed before 3.0 can be declared stable. Fortunately, Andy's almost finished with this, so it should be closed soon



---- Additional Comments From Andrew.moore@liblime.com 2008-07-09 12:09:06 ----

patches sent
http://markmail.org/message/fpn7qjrxj2h4nowy




---- Additional Comments From jmf@liblime.com 2008-07-10 09:33:04 ----

I've pushed the patches, thanks Andy!



---- Additional Comments From Andrew.moore@liblime.com 2008-07-15 08:06:50 ----

another patch added for this ticket
http://git.koha.org/cgi-bin/gitweb.cgi?p=Koha;a=commit;h=4e1cc6f14b55f6e1266e4978f51de8f92bbb202a

adding libmime-lite-perl to debian dependencies.




--- Bug imported by chris@bigballofwax.co.nz 2010-05-21 00:48 UTC  ---

This bug was previously known as _bug_ 2274 at http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=2274
Imported an attachment (id=596)
Imported an attachment (id=597)

Actual time not defined. Setting to 0.0
The original reporter of this bug does not have
   an account here. Reassigning to the person who moved
   it here: chris@bigballofwax.co.nz.
   Previous reporter was Andrew.moore@liblime.com.
The original assignee of this bug does not have
   an account here. Reassigning to the default assignee
   for the component, gmcharlt@gmail.com.
   Previous assignee was Andrew.moore@liblime.com.
The original submitter of attachment 596 [details] [review] is unknown.
   Reassigning to the person who moved it here: chris@bigballofwax.co.nz.
The original submitter of attachment 597 [details] [review] is unknown.
   Reassigning to the person who moved it here: chris@bigballofwax.co.nz.