From f432e389567ba28a5d4112fddf5624f4f79fd537 Mon Sep 17 00:00:00 2001 From: Magnus Enger Date: Thu, 22 Jul 2010 10:59:09 +0200 Subject: [PATCH] Bug 5055 - Use standard file paths in crontab.example Content-Type: text/plain; charset="utf-8" --- misc/cronjobs/crontab.example | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/misc/cronjobs/crontab.example b/misc/cronjobs/crontab.example index 33845a8..4a73729 100644 --- a/misc/cronjobs/crontab.example +++ b/misc/cronjobs/crontab.example @@ -18,21 +18,21 @@ # ENVIRONMENT: # First, establish Koha's two important ENV variables. -PERL5LIB=/home/liblime/kohaclone -KOHA_CONF=/home/liblime/kohaclone/etc/koha-conf.xml +PERL5LIB=/usr/share/koha/lib +KOHA_CONF=/etc/koha/koha-conf.xml # Some additional variables to save you typing -KOHA_CRON_PATH = /home/liblime/kohaclone/misc/cronjobs +KOHA_CRON_PATH = /usr/share/koha/bin/cronjobs # # MULTIPLE KOHA SUPPORT: # You can still run jobs for this user's additional koha installs, # by manipulating those variables in the command. # # For example, on the same codebase: -# */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 +# */10 * * * * KOHA_CONF=/etc/koha/koha-conf.xml /usr/share/koha/bin/migration_tools/rebuild_zebra.pl -b -a -z >/dev/null # # For example, on a separate codebase: -# */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 +# */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 # # ADDITIONAL INFO: # See the perldoc of individual scripts to determine what other options -- 1.6.3.3