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

(-)a/debian/koha-common.cron.daily (-1 / +1 lines)
Lines 15-21 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 --chdir --enabled /usr/share/koha/bin/cronjobs/automatic_renewals.pl
18
koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/automatic_renewals.pl -c
19
koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/fines.pl
19
koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/fines.pl
20
koha-foreach --chdir --enabled --email /usr/share/koha/bin/cronjobs/overdue_notices.pl -t
20
koha-foreach --chdir --enabled --email /usr/share/koha/bin/cronjobs/overdue_notices.pl -t
21
koha-foreach --chdir --enabled --email /usr/share/koha/bin/cronjobs/advance_notices.pl -c
21
koha-foreach --chdir --enabled --email /usr/share/koha/bin/cronjobs/advance_notices.pl -c
(-)a/misc/cronjobs/automatic_renewals.pl (-4 / +4 lines)
Lines 23-32 automatic_renewals.pl - cron script to renew loans Link Here
23
23
24
=head1 SYNOPSIS
24
=head1 SYNOPSIS
25
25
26
./automatic_renewals.pl [--send-notices]
26
./automatic_renewals.pl [-c|--confirm] [--send-notices]
27
27
28
or, in crontab:
28
or, in crontab:
29
0 3 * * * automatic_renewals.pl
29
0 3 * * * automatic_renewals.pl -c
30
30
31
=head1 DESCRIPTION
31
=head1 DESCRIPTION
32
32
Lines 44-54 Send AUTO_RENEWALS notices to patrons if the auto renewal has been done. Link Here
44
44
45
Note that this option does not support digest yet.
45
Note that this option does not support digest yet.
46
46
47
=item B<--verbose>
47
=item B<-v|--verbose>
48
48
49
Print report to standard out.
49
Print report to standard out.
50
50
51
=item B<--confirm>
51
=item B<-c|--confirm>
52
52
53
Without this parameter no changes will be made
53
Without this parameter no changes will be made
54
54
(-)a/misc/cronjobs/crontab.example (-2 / +1 lines)
Lines 48-54 KOHA_CRON_PATH = /usr/share/koha/bin/cronjobs Link Here
48
48
49
# AUTOMATIC RENEWAL + FINES + OVERDUE NOTICES
49
# AUTOMATIC RENEWAL + FINES + OVERDUE NOTICES
50
# Sequence is important - renew what can be renewed, charge fines for the rest, print fine amount into overdue notices
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
51
5    1 * * *  __KOHA_USER__ $KOHA_CRON_PATH/automatic_renewals.pl -c; $KOHA_CRON_PATH/fines.pl; $KOHA_CRON_PATH/overdue_notices.pl -t
52
52
53
# ADVANCE NOTICES
53
# ADVANCE NOTICES
54
10   1 * * *  __KOHA_USER__  $KOHA_CRON_PATH/advance_notices.pl -c
54
10   1 * * *  __KOHA_USER__  $KOHA_CRON_PATH/advance_notices.pl -c
55
- 

Return to bug 24526