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

(-)a/debian/koha-common.cron.daily (-2 / +2 lines)
Lines 15-22 Link Here
15
# You should have received a copy of the GNU General Public License
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/>.
16
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
17
18
koha-foreach --enabled --email /usr/share/koha/bin/cronjobs/overdue_notices.pl -t
18
koha-foreach --enabled /usr/share/koha/bin/cronjobs/automatic_renewals.pl
19
koha-foreach --enabled /usr/share/koha/bin/cronjobs/fines.pl
19
koha-foreach --enabled /usr/share/koha/bin/cronjobs/fines.pl
20
koha-foreach --enabled --email /usr/share/koha/bin/cronjobs/overdue_notices.pl -t
20
koha-foreach --enabled --email /usr/share/koha/bin/cronjobs/advance_notices.pl -c
21
koha-foreach --enabled --email /usr/share/koha/bin/cronjobs/advance_notices.pl -c
21
koha-foreach --enabled /usr/share/koha/bin/cronjobs/membership_expiry.pl -c
22
koha-foreach --enabled /usr/share/koha/bin/cronjobs/membership_expiry.pl -c
22
koha-foreach --enabled /usr/share/koha/bin/cronjobs/holds/cancel_expired_holds.pl >/dev/null 2>&1
23
koha-foreach --enabled /usr/share/koha/bin/cronjobs/holds/cancel_expired_holds.pl >/dev/null 2>&1
Lines 24-28 koha-foreach --enabled /usr/share/koha/bin/cronjobs/services_throttle.pl > /dev/ Link Here
24
koha-foreach --enabled /usr/share/koha/bin/cronjobs/cleanup_database.pl --sessions --zebraqueue 10 --list-invites
25
koha-foreach --enabled /usr/share/koha/bin/cronjobs/cleanup_database.pl --sessions --zebraqueue 10 --list-invites
25
koha-foreach --enabled --noemail /usr/share/koha/bin/cronjobs/cleanup_database.pl --mail
26
koha-foreach --enabled --noemail /usr/share/koha/bin/cronjobs/cleanup_database.pl --mail
26
koha-foreach --enabled /usr/share/koha/bin/cronjobs/holds/auto_unsuspend_holds.pl > /dev/null 2>&1
27
koha-foreach --enabled /usr/share/koha/bin/cronjobs/holds/auto_unsuspend_holds.pl > /dev/null 2>&1
27
koha-foreach --enabled /usr/share/koha/bin/cronjobs/automatic_renewals.pl
28
koha-run-backups --days 2 --output /var/spool/koha
28
koha-run-backups --days 2 --output /var/spool/koha
(-)a/misc/cronjobs/crontab.example (-8 / +3 lines)
Lines 45-55 KOHA_CRON_PATH = /usr/share/koha/bin/cronjobs Link Here
45
# SCHEDULED JOBS:
45
# SCHEDULED JOBS:
46
# m h  dom mon dow   user command
46
# m h  dom mon dow   user command
47
47
48
# OVERDUE NOTICES
49
0    1 * * *  __KOHA_USER__  $KOHA_CRON_PATH/overdue_notices.pl -t
50
48
51
# FINES
49
# AUTOMATIC RENEWAL + FINES + OVERDUE NOTICES
52
5    1 * * *  __KOHA_USER__  $KOHA_CRON_PATH/fines.pl
50
# Sequence is important - renew what can be renewed, charge fines for the rest, print fine amount into overdue notices
51
5    1 * * *  __KOHA_USER__ $KOHA_CRON_PATH/automatic_renewals.pl && $KOHA_CRON_PATH/fines.pl && $KOHA_CRON_PATH/overdue_notices.pl -t
53
52
54
# ADVANCE NOTICES
53
# ADVANCE NOTICES
55
10   1 * * *  __KOHA_USER__  $KOHA_CRON_PATH/advance_notices.pl -c
54
10   1 * * *  __KOHA_USER__  $KOHA_CRON_PATH/advance_notices.pl -c
Lines 90-97 KOHA_CRON_PATH = /usr/share/koha/bin/cronjobs Link Here
90
# delete old purchase suggestions weekly. Replace XX with a number to define the age of suggestions to delete.
89
# delete old purchase suggestions weekly. Replace XX with a number to define the age of suggestions to delete.
91
@weekly	__KOHA_USER__  $KOHA_CRON_PATH/purge_suggestions.pl --days XX > /dev/null 2>&1
90
@weekly	__KOHA_USER__  $KOHA_CRON_PATH/purge_suggestions.pl --days XX > /dev/null 2>&1
92
91
93
# every day at 3AM renew all issues scheduled for automatic renewal
94
0 3 * * *  __KOHA_USER__ $KOHA_CRON_PATH/automatic_renewals.pl
95
96
# share_usage_with_koha_community.pl every months
92
# share_usage_with_koha_community.pl every months
97
0 0 1 * *  __KOHA_USER__ $KOHA_CRON_PATH/share_usage_with_koha_community.pl
93
0 0 1 * *  __KOHA_USER__ $KOHA_CRON_PATH/share_usage_with_koha_community.pl
98
- 

Return to bug 11144