Commit 3bea00f0 authored by Petter Goksøyr Åsen's avatar Petter Goksøyr Åsen
Browse files

fix report output from set_itemtype cronjob

parent 73202f2f
......@@ -2,8 +2,6 @@
# /cronjobs/set_itemtype.sh
# update itemtype based on mediaType,format
report="REPORT FROM CRONJOB set_itemtype.sh\n"
RES="`cat <<-EOF | koha-mysql $(koha-list --enabled) --default-character-set=utf8 -N 2>&1
UPDATE biblioitems
......@@ -43,3 +41,5 @@ WHERE biblioitems.itemtype IS NULL;
SELECT ROW_COUNT();
EOF`"
echo "REPORT FROM CRONJOB set_itemtype.sh\nUpdated biblioitems missing itemtype: " $RES
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment