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

(-)a/misc/cronjobs/crontab.example (-6 / +5 lines)
Lines 18-38 Link Here
18
# ENVIRONMENT:
18
# ENVIRONMENT:
19
# First, establish Koha's two important ENV variables.
19
# First, establish Koha's two important ENV variables.
20
20
21
PERL5LIB=/home/liblime/kohaclone
21
PERL5LIB=/usr/share/koha/lib
22
KOHA_CONF=/home/liblime/kohaclone/etc/koha-conf.xml
22
KOHA_CONF=/etc/koha/koha-conf.xml
23
23
24
# Some additional variables to save you typing
24
# Some additional variables to save you typing
25
KOHA_CRON_PATH = /home/liblime/kohaclone/misc/cronjobs
25
KOHA_CRON_PATH = /usr/share/koha/bin/cronjobs
26
#
26
#
27
# MULTIPLE KOHA SUPPORT:
27
# MULTIPLE KOHA SUPPORT:
28
# You can still run jobs for this user's additional koha installs, 
28
# You can still run jobs for this user's additional koha installs, 
29
# by manipulating those variables in the command.
29
# by manipulating those variables in the command.
30
#
30
#
31
# For example, on the same codebase:
31
# For example, on the same codebase:
32
# */10 * * * *    KOHA_CONF=/home/liblime/koha-test/etc/koha-conf.xml /home/liblime/kohaclone/misc/migration_tools/rebuild_zebra.pl -b -a -z >/dev/null
32
# */10 * * * *    KOHA_CONF=/etc/koha/koha-conf.xml /usr/share/koha/bin/migration_tools/rebuild_zebra.pl -b -a -z >/dev/null
33
#
33
#
34
# For example, on a separate codebase:
34
# For example, on a separate codebase:
35
# */10 * * * *    KOHA_CONF=/home/liblime/koha-test/etc/koha-conf.xml PERL5LIB=/home/liblime/koha-test /home/liblime/koha-test/misc/migration_tools/rebuild_zebra.pl -b -a -z >/dev/null
35
# */10 * * * *    KOHA_CONF=/etc/koha/koha-conf.xml PERL5LIB=/home/koha/kohaclone /home/koha/kohaclone/misc/migration_tools/rebuild_zebra.pl -b -a -z >/dev/null
36
# 
36
# 
37
# ADDITIONAL INFO:
37
# ADDITIONAL INFO:
38
# See the perldoc of individual scripts to determine what other options
38
# See the perldoc of individual scripts to determine what other options
39
- 

Return to bug 5055