[Koha] Running a koha cron job for only one of our libraries

Coehoorn, Joel jcoehoorn at york.edu
Sat Nov 1 07:35:47 NZDT 2025


If the instances each have distinct users on the server, try running the
job without the koha-foreach command from the crontab for that specific
user.

*Joel Coehoorn*
Director of Information Technology
*York University*
Office: 402-363-5603 | jcoehoorn at york.edu | york.edu



On Fri, Oct 31, 2025 at 11:38 AM Chris Brown <chris at stayawake.co.uk> wrote:

> Hello,
>
> Our koha server supports 7 libraries, each with its own database. We are
> running Koha 22.11.20
>
> We wish to run the cron job longoverdue.pl for only one of the instances.
> I
> notice that the cron jobs in /etc/cron.daily/koha-common all use the
> command "koha-foreach" to run the job for all the enabled instances. Is
> there a way we can just run the job for just one specific instance?
>
> Thanks!
>
> Chris Brown
> _______________________________________________
>
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
>


More information about the Koha mailing list