Run Koha cronjob in convenient time

Koha cronjobs are running on midnight. Overdue amount does not calculate by Koha in libraries shutting down Koha server at evening . You can run cronjob in convenient time.

Add following script in cronjob,

Open Applications > Accessories > Terminal

type  

crontab -e

It will ask to select editor to open crontab. Press Enter button to proceed.

Add the following line in crontab editor

15 10 * * * /etc/cron.daily/koha-common

This script run Koha schedules tasks (e.g. fine calculation) every morning 10:15 AM. You can change to convenient time.

Press Ctrl + O to save the changes. Then Ctrl + X exit.

Reference: Crontab example

3 comments:

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

    what does root and test here indicates

    ReplyDelete
  2. i have installed 3 instances of koha on one server. the challenge i m now having is that its only calculating fines for the first instance that i created. How do i configure it to calculate fies for all the instances

    ReplyDelete
    Replies
    1. I am not sure how to solve the problem. Please put query in Koha discussion forum.

      Delete