http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8566
Priority: P5 - low
Change sponsored?: ---
Bug ID: 8566
CC: [email protected]
Assignee: [email protected]
Summary: Enable koha-foreach to insert the instancename into
commands
Severity: enhancement
Classification: Unclassified
OS: All
Reporter: [email protected]
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/