[Koha] How to run Koha fines script manually

Robin Sheat robin at catalyst.net.nz
Wed Jan 22 11:59:28 NZDT 2014

Vimal Kumar V. schreef op di 21-01-2014 om 16:40 [+0000]:
> Fine will not calculate in this context. Fine calculation in Koha
> occur in
> 12 AM midnight.

If you correctly configure the cron jobs to run with cron.daily, and
have anacron installed, then these tasks will run when the computer is
booted up if it hasn't already happened.

>From the manual page for anacron:

       Anacron can be used to execute commands periodically, with a frequency specified in days.  Unlike cron(8), it
       does not assume that the machine is running continuously.  Hence, it can be used on machines that aren't run‐
       ning 24 hours a day, to control daily, weekly, and monthly jobs that are usually controlled by cron.

the default crontab for Debian and Ubuntu does this every day:

25 6    * * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )

that is to say, it uses anacron if it's available. So using this you
should be able to have tasks run as close to daily as is possible.

A little more information is here:


Robin Sheat
Catalyst IT Ltd.
✆ +64 4 803 2204
GPG: 5FA7 4B49 1E4D CAA4 4C38  8505 77F5 B724 F871 3BDF

More information about the Koha mailing list