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

(-)a/debian/koha-common.cron.daily (-2 / +2 lines)
Lines 15-27 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/holds/cancel_expired_holds.pl >/dev/null 2>&1
22
koha-foreach --enabled /usr/share/koha/bin/cronjobs/holds/cancel_expired_holds.pl >/dev/null 2>&1
22
koha-foreach --enabled /usr/share/koha/bin/cronjobs/services_throttle.pl > /dev/null 2>&1
23
koha-foreach --enabled /usr/share/koha/bin/cronjobs/services_throttle.pl > /dev/null 2>&1
23
koha-foreach --enabled /usr/share/koha/bin/cronjobs/cleanup_database.pl --sessions --zebraqueue 10 --list-invites
24
koha-foreach --enabled /usr/share/koha/bin/cronjobs/cleanup_database.pl --sessions --zebraqueue 10 --list-invites
24
koha-foreach --enabled --noemail /usr/share/koha/bin/cronjobs/cleanup_database.pl --mail
25
koha-foreach --enabled --noemail /usr/share/koha/bin/cronjobs/cleanup_database.pl --mail
25
koha-foreach --enabled /usr/share/koha/bin/cronjobs/holds/auto_unsuspend_holds.pl > /dev/null 2>&1
26
koha-foreach --enabled /usr/share/koha/bin/cronjobs/holds/auto_unsuspend_holds.pl > /dev/null 2>&1
26
koha-foreach --enabled /usr/share/koha/bin/cronjobs/automatic_renewals.pl
27
koha-run-backups --days 2 --output /var/spool/koha
27
koha-run-backups --days 2 --output /var/spool/koha
(-)a/misc/cronjobs/crontab.example (-8 / +4 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
48
# AUTOMATIC RENEWAL
49
0    1 * * *  __KOHA_USER__  $KOHA_CRON_PATH/overdue_notices.pl -t
50
51
# FINES
49
# FINES
52
5    1 * * *  __KOHA_USER__  $KOHA_CRON_PATH/fines.pl
50
# OVERDUE NOTICES
51
# Sequence is important - renew what can be renewed, charge fines for the rest, print fine amount into overdue notices
52
5    1 * * *  __KOHA_USER__ $KOHA_CRON_PATH/automatic_renewals.pl && $KOHA_CRON_PATH/fines.pl && $KOHA_CRON_PATH/overdue_notices.pl -t
53
53
54
# ADVANCE NOTICES
54
# ADVANCE NOTICES
55
10   1 * * *  __KOHA_USER__  $KOHA_CRON_PATH/advance_notices.pl -c
55
10   1 * * *  __KOHA_USER__  $KOHA_CRON_PATH/advance_notices.pl -c
Lines 85-90 KOHA_CRON_PATH = /usr/share/koha/bin/cronjobs Link Here
85
85
86
# delete old purchase suggestions weekly. Replace XX with a number to define the age of suggestions to delete.
86
# delete old purchase suggestions weekly. Replace XX with a number to define the age of suggestions to delete.
87
@weekly	__KOHA_USER__  $KOHA_CRON_PATH/purge_suggestions.pl --days XX > /dev/null 2>&1
87
@weekly	__KOHA_USER__  $KOHA_CRON_PATH/purge_suggestions.pl --days XX > /dev/null 2>&1
88
89
# every day at 3AM renew all issues scheduled for automatic renewal
90
0 3 * * *  __KOHA_USER__ $KOHA_CRON_PATH/automatic_renewals.pl
91
- 

Return to bug 11144