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

(-)a/debian/koha-common.cron.daily (+1 lines)
Lines 16-21 Link Here
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-run-backups --days 2 --output /var/spool/koha
18
koha-run-backups --days 2 --output /var/spool/koha
19
#koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/archive_purchase_suggestions.pl -c --age=years:1
19
koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/automatic_renewals.pl -c
20
koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/automatic_renewals.pl -c
20
koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/automatic_checkin.pl
21
koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/automatic_checkin.pl
21
koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/recalls/expire_recalls.pl
22
koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/recalls/expire_recalls.pl
(-)a/misc/cronjobs/crontab.example (-1 / +3 lines)
Lines 88-93 KOHA_CRON_PATH = /usr/share/koha/bin/cronjobs Link Here
88
# clean up databases nightly.  Be sure not to run this with --sessions during a time when the system is in use!
88
# clean up databases nightly.  Be sure not to run this with --sessions during a time when the system is in use!
89
16 1 * * * __KOHA_USER__ $KOHA_CRON_PATH/cleanup_database.pl --confirm --sessions --zebraqueue 10 --list-invites --temp-uploads --del-unv-selfreg 14
89
16 1 * * * __KOHA_USER__ $KOHA_CRON_PATH/cleanup_database.pl --confirm --sessions --zebraqueue 10 --list-invites --temp-uploads --del-unv-selfreg 14
90
90
91
# archive older purchase suggestions. Replace XX to define age in years (or change to days or months)
92
@daily __KOHA_USER__  $KOHA_CRON_PATH/archive_purchase_suggestions.pl -c --age=years:XX
93
91
# delete old purchase suggestions weekly. Replace XX with a number to define the age of suggestions to delete.
94
# delete old purchase suggestions weekly. Replace XX with a number to define the age of suggestions to delete.
92
@weekly	__KOHA_USER__  $KOHA_CRON_PATH/purge_suggestions.pl --confirm --days XX > /dev/null 2>&1
95
@weekly	__KOHA_USER__  $KOHA_CRON_PATH/purge_suggestions.pl --confirm --days XX > /dev/null 2>&1
93
96
94
- 

Return to bug 39250