Question on Cronjob for building holds queue
Dear list, one, and only one of our Koha servers/instances regularly sends this message: ---------- /etc/cron.hourly/koha-common: RealTimeHoldsQueue system preference is enabled, holds queue not built. Use --force to force building the holds queue. ipp-greifswald: 1 status returned by "/usr/share/koha/bin/cronjobs/holds/build_holds_queue.pl" ---------- Does this mean we have to add --force as a parameter to the relevant line in koha-common, changing koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/holds/build_holds_queue.pl to koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/holds/build_holds_queue.pl --force ? I am asking because in none of our other instances this error message comes up although they all do not have the --force parameter. Thanks for your help in advance, and have a nice Monday! Anke -- Anke Bruns M.A. (LIS) Arbeitsgruppe "Organisation, Betrieb und Entwicklung von Diensten" E-Mail: anke.bruns@gwdg.de Tel.: +49 551 39-30291 ----------------------------- Gesellschaft für wissenschaftliche Datenverarbeitung mbH Göttingen (GWDG) Burckhardtweg 4, 37077 Göttingen, URL: https://gwdg.de Support: Tel.: +49 551 39-30000, URL: https://gwdg.de/support Sekretariat: Tel.: +49 551 39-30001, E-Mail: gwdg@gwdg.de Geschäftsführer: Prof. Dr. Ramin Yahyapour Aufsichtsratsvorsitzende: Dr. Valérie Schüller Sitz der Gesellschaft: Göttingen Registergericht: Göttingen, Handelsregister-Nr. B 598 ----------------------------- Zertifiziert nach ISO 9001 und ISO 27001 -----------------------------
OK, I found out a difference between this and the other instances: The parameter RealTimeHoldsQueue was set to enable, whereas in the instances without the error message it was set to disable. Should I try to disable the setting here as well to avoid the error message? Best regards, Anke
-----Ursprüngliche Nachricht----- Von: Bruns, Anke Gesendet: Montag, 30. Juni 2025 10:22 An: 'koha' <koha@lists.katipo.co.nz> Betreff: Question on Cronjob for building holds queue
Dear list,
one, and only one of our Koha servers/instances regularly sends this message:
---------- /etc/cron.hourly/koha-common: RealTimeHoldsQueue system preference is enabled, holds queue not built. Use --force to force building the holds queue. ipp-greifswald: 1 status returned by "/usr/share/koha/bin/cronjobs/holds/build_holds_queue.pl" ----------
Does this mean we have to add --force as a parameter to the relevant line in koha-common, changing
koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/holds/build_holds_queue.pl
to
koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/holds/build_holds_queue.pl --force
?
I am asking because in none of our other instances this error message comes up although they all do not have the --force parameter.
Thanks for your help in advance, and have a nice Monday! Anke
-- Anke Bruns M.A. (LIS) Arbeitsgruppe "Organisation, Betrieb und Entwicklung von Diensten" E-Mail: anke.bruns@gwdg.de Tel.: +49 551 39-30291 ----------------------------- Gesellschaft für wissenschaftliche Datenverarbeitung mbH Göttingen (GWDG) Burckhardtweg 4, 37077 Göttingen, URL: https://gwdg.de
Support: Tel.: +49 551 39-30000, URL: https://gwdg.de/support Sekretariat: Tel.: +49 551 39-30001, E-Mail: gwdg@gwdg.de
Geschäftsführer: Prof. Dr. Ramin Yahyapour Aufsichtsratsvorsitzende: Dr. Valérie Schüller Sitz der Gesellschaft: Göttingen Registergericht: Göttingen, Handelsregister-Nr. B 598 ----------------------------- Zertifiziert nach ISO 9001 und ISO 27001 -----------------------------
My limited understanding is that if the RealTimeHoldsQueue is enabled, then the holds queue cronjob doesn't need to be run ( https://koha-community.org/manual/latest/en/html/circulationpreferences.html...), and vice-versa I'm not sure of the advantages and disadvantages of using either the RealTimeHoldsQueue or the cronjob to build the holds queue. I guess it would depend on how often your holds queue needs updating, system resources available, and your library's workflow. David Nind New Zealand On Mon, 30 Jun 2025 at 23:37, Bruns, Anke <Anke.Bruns@gwdg.de> wrote:
OK, I found out a difference between this and the other instances: The parameter RealTimeHoldsQueue was set to enable, whereas in the instances without the error message it was set to disable.
Should I try to disable the setting here as well to avoid the error message?
Best regards, Anke
-----Ursprüngliche Nachricht----- Von: Bruns, Anke Gesendet: Montag, 30. Juni 2025 10:22 An: 'koha' <koha@lists.katipo.co.nz> Betreff: Question on Cronjob for building holds queue
Dear list,
one, and only one of our Koha servers/instances regularly sends this message:
---------- /etc/cron.hourly/koha-common: RealTimeHoldsQueue system preference is enabled, holds queue not built. Use --force to force building the holds queue. ipp-greifswald: 1 status returned by "/usr/share/koha/bin/cronjobs/holds/build_holds_queue.pl" ----------
Does this mean we have to add --force as a parameter to the relevant line in koha-common, changing
koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/holds/build_holds_queue.pl
to
koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/holds/build_holds_queue.pl --force
?
I am asking because in none of our other instances this error message comes up although they all do not have the --force parameter.
Thanks for your help in advance, and have a nice Monday! Anke
-- Anke Bruns M.A. (LIS) Arbeitsgruppe "Organisation, Betrieb und Entwicklung von Diensten" E-Mail: anke.bruns@gwdg.de Tel.: +49 551 39-30291 ----------------------------- Gesellschaft für wissenschaftliche Datenverarbeitung mbH Göttingen (GWDG) Burckhardtweg 4, 37077 Göttingen, URL: https://gwdg.de
Support: Tel.: +49 551 39-30000, URL: https://gwdg.de/support Sekretariat: Tel.: +49 551 39-30001, E-Mail: gwdg@gwdg.de
Geschäftsführer: Prof. Dr. Ramin Yahyapour Aufsichtsratsvorsitzende: Dr. Valérie Schüller Sitz der Gesellschaft: Göttingen Registergericht: Göttingen, Handelsregister-Nr. B 598 ----------------------------- Zertifiziert nach ISO 9001 und ISO 27001 -----------------------------
_______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
Hi David, thanks! I tried disabling the RealTimeHoldsQueue parameter, and so far no more error messages have arrived. So this seems to have been the reason, as you say. Best regards, Anke -- Anke Bruns M.A. (LIS) Arbeitsgruppe "Organisation, Betrieb und Entwicklung von Diensten" E-Mail: anke.bruns@gwdg.de Tel.: +49 551 39-30291 ----------------------------- Gesellschaft für wissenschaftliche Datenverarbeitung mbH Göttingen (GWDG) Burckhardtweg 4, 37077 Göttingen, URL: https://gwdg.de Support: Tel.: +49 551 39-30000, URL: https://gwdg.de/support Sekretariat: Tel.: +49 551 39-30001, E-Mail: gwdg@gwdg.de Geschäftsführer: Prof. Dr. Ramin Yahyapour Aufsichtsratsvorsitzende: Dr. Valérie Schüller Sitz der Gesellschaft: Göttingen Registergericht: Göttingen, Handelsregister-Nr. B 598 ----------------------------- Zertifiziert nach ISO 9001 und ISO 27001 -----------------------------
-----Ursprüngliche Nachricht----- Von: David Nind <david@davidnind.com> Gesendet: Montag, 30. Juni 2025 21:06 An: Bruns, Anke <Anke.Bruns@gwdg.de> Cc: koha <koha@lists.katipo.co.nz> Betreff: Re: [Koha] Question on Cronjob for building holds queue
My limited understanding is that if the RealTimeHoldsQueue is enabled, then the holds queue cronjob doesn't need to be run (https://koha- community.org/manual/latest/en/html/circulationpreferences.html#realtim eholdsqueue), and vice-versa
I'm not sure of the advantages and disadvantages of using either the RealTimeHoldsQueue or the cronjob to build the holds queue.
I guess it would depend on how often your holds queue needs updating, system resources available, and your library's workflow.
David Nind New Zealand
On Mon, 30 Jun 2025 at 23:37, Bruns, Anke <Anke.Bruns@gwdg.de <mailto:Anke.Bruns@gwdg.de> > wrote:
OK, I found out a difference between this and the other instances: The parameter RealTimeHoldsQueue was set to enable, whereas in the instances without the error message it was set to disable.
Should I try to disable the setting here as well to avoid the error message?
Best regards, Anke
-----Ursprüngliche Nachricht----- Von: Bruns, Anke Gesendet: Montag, 30. Juni 2025 10:22 An: 'koha' <koha@lists.katipo.co.nz <mailto:koha@lists.katipo.co.nz> > Betreff: Question on Cronjob for building holds queue
Dear list,
one, and only one of our Koha servers/instances regularly sends this message:
---------- /etc/cron.hourly/koha-common: RealTimeHoldsQueue system preference is enabled, holds queue not built. Use --force to force building the holds queue. ipp-greifswald: 1 status returned by "/usr/share/koha/bin/cronjobs/holds/build_holds_queue.pl <http://build_holds_queue.pl> " ----------
Does this mean we have to add --force as a parameter to the relevant line in koha-common, changing
koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/holds/build_holds_queue.pl <http://build_holds_queue.pl>
to
koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/holds/build_holds_queue.pl <http://build_holds_queue.pl> --force
?
I am asking because in none of our other instances this error message comes up although they all do not have the --force parameter.
Thanks for your help in advance, and have a nice Monday! Anke
-- Anke Bruns M.A. (LIS) Arbeitsgruppe "Organisation, Betrieb und Entwicklung von Diensten" E-Mail: anke.bruns@gwdg.de <mailto:anke.bruns@gwdg.de> Tel.: +49 551 39-30291 ----------------------------- Gesellschaft für wissenschaftliche Datenverarbeitung mbH Göttingen (GWDG) Burckhardtweg 4, 37077 Göttingen, URL: https://gwdg.de
Support: Tel.: +49 551 39-30000, URL: https://gwdg.de/support Sekretariat: Tel.: +49 551 39-30001, E-Mail: gwdg@gwdg.de <mailto:gwdg@gwdg.de>
Geschäftsführer: Prof. Dr. Ramin Yahyapour Aufsichtsratsvorsitzende: Dr. Valérie Schüller Sitz der Gesellschaft: Göttingen Registergericht: Göttingen, Handelsregister-Nr. B 598 ----------------------------- Zertifiziert nach ISO 9001 und ISO 27001 -----------------------------
_______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz <mailto:Koha@lists.katipo.co.nz> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
participants (2)
-
Bruns, Anke -
David Nind