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

--- Comment #14 from M. Tompsett <[email protected]> ---
Comment on attachment 44283
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44283
Bug 11144: Fix sequence of cronjobs: automatic renewal - fines - overdue
notices

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

::: misc/cronjobs/crontab.example
@@ +48,4 @@
>  
> +# AUTOMATIC RENEWAL + 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_CRON_PATH/fines.pl && $KOHA_CRON_PATH/overdue_notices.pl -t

I'm pretty sure you want semi-colons. You want to run them sequentially in this
order regardless of the success or failure of script.

echo one; false; echo three
echo one; true; echo three
echo one && false && echo three
echo one && true && echo three
echo one || false || echo three
echo one || true || echo three

Only the first two print one and three for both false and true cases

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to