Tomas Cohen Arazi
6db09ad3b0
In order to patch production sites we need to adjust the shipped cronjobs so they are called with the --chdir option switch. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
12 lines
524 B
Makefile
12 lines
524 B
Makefile
# /etc/cron.d/koha-common
|
|
#
|
|
# Call koha-rebuild-zebra for each enabled Koha instance, to make sure the
|
|
# Zebra indexes are up to date.
|
|
|
|
SHELL=/bin/sh
|
|
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
|
|
|
|
# Uncomment the following line if you do not want to use the koha-index-daemon integration
|
|
# */5 * * * * root test -x /usr/sbin/koha-rebuild-zebra && koha-rebuild-zebra -q $(koha-list --enabled)
|
|
|
|
*/15 * * * * root koha-foreach --chdir --enabled --email /usr/share/koha/bin/cronjobs/process_message_queue.pl
|