Browse Source

Bug 23207: (QA follow-up) Add to cron files

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
master
Tomas Cohen Arazi 2 weeks ago
parent
commit
4d379cf698
2 changed files with 4 additions and 3 deletions
  1. +1
    -0
      debian/koha-common.cron.daily
  2. +3
    -3
      misc/cronjobs/crontab.example

+ 1
- 0
debian/koha-common.cron.daily View File

@@ -16,6 +16,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.

koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/automatic_renewals.pl -c
koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/automatic_checkin.pl
koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/fines.pl
koha-foreach --chdir --enabled --email /usr/share/koha/bin/cronjobs/overdue_notices.pl -t
koha-foreach --chdir --enabled --email /usr/share/koha/bin/cronjobs/advance_notices.pl -c


+ 3
- 3
misc/cronjobs/crontab.example View File

@@ -46,9 +46,9 @@ KOHA_CRON_PATH = /usr/share/koha/bin/cronjobs
# m h dom mon dow user command


# AUTOMATIC RENEWAL + FINES + OVERDUE NOTICES
# Sequence is important - renew what can be renewed, charge fines for the rest, print fine amount into overdue notices
5 1 * * * __KOHA_USER__ $KOHA_CRON_PATH/automatic_renewals.pl -c; $KOHA_CRON_PATH/fines.pl; $KOHA_CRON_PATH/overdue_notices.pl -t
# AUTOMATIC RENEWAL + AUTOMATIC CHECK-IN + FINES + OVERDUE NOTICES
# Sequence is important - renew what can be renewed, check things in if set to, charge fines for the rest, print fine amount into overdue notices
5 1 * * * __KOHA_USER__ $KOHA_CRON_PATH/automatic_renewals.pl -c; $KOHA_CRON_PATH/automatic_checkin.pl ; $KOHA_CRON_PATH/fines.pl; $KOHA_CRON_PATH/overdue_notices.pl -t

# ADVANCE NOTICES
10 1 * * * __KOHA_USER__ $KOHA_CRON_PATH/advance_notices.pl -c


Loading…
Cancel
Save