Merge remote branch 'kc/new/enh/bug_5560' into kcmaster
[koha.git] / debian / koha-common.cron.daily
blob059682e803c97c767492c10547026c4ce2674f84
1 #!/bin/sh
2 # /etc/cron.daily/koha-common -- Daily housekeeping tasks for all Kohas.
3 # Copyright 2010 Catalyst IT, Ltd
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.
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/>.
18 koha-foreach --enabled --email /usr/share/koha/bin/cronjobs/overdue_notices.pl -t
19 koha-foreach --enabled /usr/share/koha/bin/cronjobs/fines.pl
20 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/services_throttle.pl > /dev/null 2>&1
23 koha-foreach --enabled /usr/share/koha/bin/cronjobs/cleanup_database.pl --sessions --zebraqueue 10
24 koha-foreach --enabled --noemail /usr/share/koha/bin/cronjobs/cleanup_database.pl --mail