View | Details | Raw Unified | Return to bug 13585
Collapse All | Expand All

(-)a/debian/koha-common.cron.monthly (+19 lines)
Line 0 Link Here
1
#!/bin/sh
2
# /etc/cron.monthly/koha-common -- Monthly housekeeping tasks for all Kohas.
3
# Copyright 2015 Biblibre
4
#
5
# This program is free software: you can redistribute it and/or modify
6
# it under the terms of the GNU General Public License as published by
7
# the Free Software Foundation, either version 3 of the License, or
8
# (at your option) any later version.
9
#
10
# This program is distributed in the hope that it will be useful,
11
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
# GNU General Public License for more details.
14
#
15
# You should have received a copy of the GNU General Public License
16
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
18
19
koha-foreach --enabled /usr/share/koha/bin/cronjobs/share_usage_with_koha_community.pl
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref (-1 / +1 lines)
Lines 129-135 Administration: Link Here
129
              choices:
129
              choices:
130
                  yes: Share
130
                  yes: Share
131
                  no: "Don't share"
131
                  no: "Don't share"
132
            - anonymous Koha usage data with the Koha community. You can see the data on the <a href="http://hea.koha-community.org">Hea Koha community website</a>.
132
            - anonymous Koha usage data with the Koha community. You can see the data on the <a href="http://hea.koha-community.org">Hea Koha community website</a>. You have to run misc/cronjobs/share_usage_with_koha_community.pl in a cronjob.
133
        -
133
        -
134
            - The library name
134
            - The library name
135
            - pref: UsageStatsLibraryName
135
            - pref: UsageStatsLibraryName
(-)a/misc/cronjobs/crontab.example (-1 / +3 lines)
Lines 88-90 KOHA_CRON_PATH = /usr/share/koha/bin/cronjobs Link Here
88
88
89
# every day at 3AM renew all issues scheduled for automatic renewal
89
# every day at 3AM renew all issues scheduled for automatic renewal
90
0 3 * * *  __KOHA_USER__ $KOHA_CRON_PATH/automatic_renewals.pl
90
0 3 * * *  __KOHA_USER__ $KOHA_CRON_PATH/automatic_renewals.pl
91
- 
91
92
# share_usage_with_koha_community.pl every months
93
0 0 1 * *  __KOHA_USER__ $KOHA_CRON_PATH/share_usage_with_koha_community.pl

Return to bug 13585