Bugzilla – Attachment 2951 Details for
Bug 5055
crontab.example should use standard file paths
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Revised patch, removing logrotate stuff
0001-Bug-5055-Use-standard-file-paths-in-crontab.example.patch (text/plain), 2.50 KB, created by
Magnus Enger
on 2011-01-05 21:09:19 UTC
(
hide
)
Description:
Revised patch, removing logrotate stuff
Filename:
MIME Type:
Creator:
Magnus Enger
Created:
2011-01-05 21:09:19 UTC
Size:
2.50 KB
patch
obsolete
>From 20c931dc2970af2bfff3aad515adb37293b03812 Mon Sep 17 00:00:00 2001 >From: Magnus Enger <magnus@enger.priv.no> >Date: Wed, 5 Jan 2011 22:04:01 +0100 >Subject: [PATCH] Bug 5055 Use standard file paths in crontab.example >Content-Type: text/plain; charset="utf-8" > >This is a revised patch, removing the lines pertaining to logrotate. >--- > misc/cronjobs/crontab.example | 14 +++++--------- > 1 files changed, 5 insertions(+), 9 deletions(-) > >diff --git a/misc/cronjobs/crontab.example b/misc/cronjobs/crontab.example >index 33845a8..b43d377 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 >@@ -74,9 +74,5 @@ KOHA_CRON_PATH = /home/liblime/kohaclone/misc/cronjobs > # services_throttle -- resets the xISBN service > 59 23 * * * $KOHA_CRON_PATH/services_throttle.pl > /dev/null 2>&1 > >-# ROTATE LOGS >-# Obviously, one needs logrotate(8) to do this >-# 20 1 * * * /usr/sbin/logrotate -s /home/liblime/kohaclone/var/run/zebradb/logstatus /home/liblime/kohaclone/etc/logrotate.conf >- > # clean up databases nightly. Be sure not to run this with --sessions during a time when the system is in use! > 16 1 * * * $KOHA_CRON_PATH/cleanup_database.pl --sessions --zebraqueue 10 >-- >1.7.0.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 5055
:
2409
| 2951