[Koha-devel] RFC: plan to reorganize cronjobs for overdues, notices, and fines

henridamien.laurent henridamien.laurent at biblibre.com
Wed Jun 4 21:21:02 CEST 2008


Andrew Moore a écrit :
> Hi Koha Developers -
>
> After a brief audit of some of the code in misc/cronjobs it looks to
> me that the cronjobs that handle things like overdues, notices, and
> fines could use some work. There's a lot of overlapping functionality
> in the scripts in that directory, and not everything that we need for
> 3.0 is there yet. So, I'm hoping to find a reasonable way to get what
> we need easily. I'm looking for guidance here on developing a roadmap,
> so please speak up if you have recommendations.
>
> These are the scripts that I think we need:
>
> overdue_notices.pl - will prepare notices for items that are overdue.
> This increments the overdue notice counters.
>   
OK
> fines.pl - will calculate and update patron fines. This will NOT
> prepare notices.
> advance_notices.pl - will prepare notices for items that are not yet
> due, or have just become due. Patrons will have the option of
> receiving these or not.
>
>   
Can't this one get merge into Overdue_notices that would become
circulation notices.
imho, it is quite the same process.
Or do I misunderstand the process you want to settle ?
> This is what will happen to many of the scripts that are there now:
>
> 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
>
>   
OK.
I bet that we could add some improvements to Scheduler to add some
recurrent task...
Seems that it is not ready for recurrent tasks... But with Date::Calc we
could add some recurrent task.
> fines2.pl will get replaced by fines.pl
> fines-ll.pl  will get folded into fines.pl. This script has good
> calculation stuff that should be salvaged.
> fines-sanop.pl will most likely be replaced by fines.pl.
>   
Fine with us, provided that fines-SANOP workflow or calculation is kept
as parameter..

Maybe improving Notices. Or adding some way to send reports via email.
But later on.

-- 
Henri-Damien LAURENT
BibLibre SARL
http://www.biblibre.com
Expert en Logiciels Libres pour l'info-doc
tel : +33 4 67 65 75 50



_______________________________________________
Koha-devel mailing list
Koha-devel at lists.koha.org
http://lists.koha.org/mailman/listinfo/koha-devel



More information about the Koha-devel mailing list