[Koha-bugs] [Bug 8566] New: Enable koha-foreach to insert the instancename into commands
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Aug 3 11:25:02 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8566
Priority: P5 - low
Change sponsored?: ---
Bug ID: 8566
CC: robin at catalyst.net.nz
Assignee: koha-bugs at lists.koha-community.org
Summary: Enable koha-foreach to insert the instancename into
commands
Severity: enhancement
Classification: Unclassified
OS: All
Reporter: magnus at enger.priv.no
Hardware: All
Status: NEW
Version: master
Component: Packaging
Product: Koha
The synopsis for koha-foreach looks like this:
koha-foreach [--enabled] [--email|--noemail] [command]
It is used e.g. in cron configs, like this:
koha-foreach --enabled /usr/share/koha/bin/cronjobs/fines.pl
It would be very useful if we could provide a placeholder in the command, which
could then be replaced with the name of the current instance. Then we could do
e.g.:
koha-foreach --enabled /usr/share/koha/bin/cronjobs/fines.pl --out
/var/log/koha/__instancename__
and have fines.pl use the right directory for each instance.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list