Bug 15128 - (QA Followup) Fix use of 'my' variable causing loss of data
[koha.git] / debian / koha-common.cron.daily
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.
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 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/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/services_throttle.pl > /dev/null 2>&1
24 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 /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