http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8566 Robin Sheat <robin@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #29274|0 |1 is obsolete| | --- Comment #5 from Robin Sheat <robin@catalyst.net.nz> --- Created attachment 29309 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=29309&action=edit Bug 8566: [SIGNED-OFF] Enable koha-foreach to insert the instancename into commands koha-foreach has been modified to replace __instancename__ with $name on each iteration using sed. The docbook file for koha-foreach has also been updated to reflect the new functionality. To test: koha-foreach ls -ld /etc/koha/sites/__instancename__ should list directories instead of giving an error message. Signed-off-by: Magnus Enger <digitalutvikling@gmail.com> The suggested example with ls works as expected, as does my more complex example with fines.pl: koha-foreach --enabled /usr/share/koha/bin/cronjobs/fines.pl \ --out /var/log/koha/__instancename__/ The man page looks good too. Signed-off-by: Robin Sheat <robin@catalyst.net.nz> -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.