[Koha] Running a koha cron job for only one of our libraries
Magnus Enger
magnus at libriotech.no
Mon Nov 3 20:06:10 NZDT 2025
Hi!
Have a look at koha-shell ("man koha-shell" on the command line).
You should be able to have this in your cron:
koha-shell -c "your script invocation here" <instancename>
Best regards,
Magnus Enger
Libriotech/imCode
On 10/31/25 17:38, Chris Brown 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