Bug 17717: Make cronjobs using koha-foreach use --chdir
[koha.git] / debian / koha-common.cron.d
index 149fc47..c87207c 100644 (file)
@@ -9,4 +9,4 @@ 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 --enabled --email /usr/share/koha/bin/cronjobs/process_message_queue.pl
+*/15 * * * * root koha-foreach --chdir --enabled --email /usr/share/koha/bin/cronjobs/process_message_queue.pl