http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8567

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 8567
                CC: ro...@catalyst.net.nz
          Assignee: koha-bugs@lists.koha-community.org
           Summary: Set output directory for fines.pl in cron config
                    created by the packages
          Severity: enhancement
    Classification: Unclassified
                OS: All
          Reporter: mag...@enger.priv.no
          Hardware: All
            Status: NEW
           Version: master
         Component: Packaging
           Product: Koha

When the Debian packages are installed, they create a
/etc/cron.daily/koha-common config based on the template in
debian/koha-common.cron.daily. This results in the following command for
fines.pl: 

  koha-foreach --enabled /usr/share/koha/bin/cronjobs/fines.pl

and this results in this script writing daily log files to /tmp, which is less
than ideal. Now, fines.pl has an option --out to specify where the logs are
saved, so we could change the cron config to something like this:

  koha-foreach --enabled /usr/share/koha/bin/cronjobs/fines.pl --out
/var/log/koha/__instancename__

Caveat: This depends on Bug 8566 being implemented first! (Because without it
there is no way for koha-foreach to use directories named after the instances.)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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/

Reply via email to