[Koha] Koha 16.05 - Holds Script - Run Frequency

Liz Rea liz at catalyst.net.nz
Thu Jan 26 09:52:37 NZDT 2017


Hi Craig,
The cron job is run from files are in /etc/cron.hourly/koha-common for a
package install.

Note that "build_holds_queue.pl" doesn't affect the holds to pull. It
only affects the hold queue. 

To change the frequency, you could comment out the job in
/etc/cron.hourly/koha-common, adding an octothorpe at the beginning of
the job like

# koha-foreach --enabled
/usr/share/koha/bin/cronjobs/holds/build_holds_queue.pl

and then create one in the /etc/cron.d/koha-common like

*/15 * * * * koha-foreach --enabled
/usr/share/koha/bin/cronjobs/holds/build_holds_queue.pl

very much like the process_message_queue.pl entry. This will run the job
every 15 minutes, at 00, 15, 30, and 45. To change the interval, swap
out the the 15 in */15 for your desired interval.

On a recent debian(8)/ubuntu(16), you can check the cron log super
easily with sudo systemctl status cron

I hope this helps!

Cheers,
Liz


On 26/01/17 04:11, Craig Butosi wrote:
> Hi all,
>
> Koha 16.05 on Ubuntu 14.04 LTS
>
> Can someone confirm the name and location of the script that controls the processing of hold requests? By 'processing' I mean when a patron clicks on "Place Hold" from the OPAC, and then that request gets entered into the "Holds to Pull" screen in the staff client. I see in directory /etc/koha/cron.hourly/ there is a script called "build_holds_queue.pl". Is this the one?
>
> If it is, then if I wanted to run it as frequently as every 15 minutes (instead of every hour), how would I go about doing that (I've never had to edit a cron in the cron.hourly folder, only in crontab)? Are there any issues will running this script more frequently than every hour? (We are a library with a user base of about 600, and with a collection of about 50,000 items; by most standards a small library).
>
> Many thanks all!
>
> Craig Butosi, MA, MLIS, B Mus (Hons.)
> LIBRARY SERVICES MANAGER
> the royal conservatory
> TELUS Centre for Performance and Learning
> 273 Bloor Street West
> Toronto, ON M5S 1W2
> 416.408.2824 x338
> www.rcmusic.ca<http://www.rcmusic.ca/>
>
>
>
> Note: This email message and any attachments are intended only for the use of the individual to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the recipient of this email is not the intended recipient (or the employee or agent responsible for delivering the email to the intended recipient), you are hereby notified that any review, dissemination, distribution or copying or other use of this message is strictly prohibited. If you have received this communication in error, please notify the sender immediately by return email and delete this message and attachments from your system, thank you.
> _______________________________________________
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha

-- 
--
Liz Rea
Catalyst.Net Limited
Level 6, Catalyst House, 
150 Willis Street, Wellington.
P.O Box 11053, Manners Street, 
Wellington 6142

GPG: B149 A443 6B01 7386 C2C7 F481 B6c2 A49D 3726 38B7


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <https://lists.katipo.co.nz/pipermail/koha/attachments/20170126/4668eb10/attachment.sig>


More information about the Koha mailing list