[Koha-bugs] [Bug 11144] Fix sequence of cronjobs: automatic renewal - fines - overdue notices

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 18 02:17:47 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11144

--- Comment #7 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 40044
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=40044
Bug 11144: Fix sequence of cronjobs: automatic renewal - fines - overdue
notices

Review of attachment 40044:
 --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=11144&attachment=40044)
-----------------------------------------------------------------

::: misc/cronjobs/crontab.example
@@ +49,4 @@
>  # FINES
> +# OVERDUE NOTICES
> +# Sequence is important - renew what can be renewed, charge fines for the rest, print fine amount into overdue notices
> +5    1 * * *  __KOHA_USER__ $KOHA_CRON_PATH/automatic_renewals.pl && __KOHA_USER__  $KOHA_CRON_PATH/fines.pl && __KOHA_USER__  $KOHA_CRON_PATH/overdue_notices.pl -t

Not quite. __KOHA_USER__ the first time, sure. But those others seem wrong to
me.

@@ -86,5 @@
>  # delete old purchase suggestions weekly. Replace XX with a number to define the age of suggestions to delete.
>  @weekly	__KOHA_USER__  $KOHA_CRON_PATH/purge_suggestions.pl --days XX > /dev/null 2>&1
> -
> -# every day at 3AM renew all issues scheduled for automatic renewal
> -0 3 * * *  __KOHA_USER__ $KOHA_CRON_PATH/automatic_renewals.pl

Do we want to shift renewals to 1:05am, or should we shift overdues and fines
to 3:00am? I see no reason one way or another. Just wanted to point this out.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list