http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11144 --- Comment #14 from M. Tompsett <mtompset@hotmail.com> --- 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.