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
[email protected]
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
_______________________________________________

Koha mailing list  http://koha-community.org
[email protected]
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha

Reply via email to