I am using different Koha databases on the same server, and need to run scripts on each via Crontab. How to tell the script what Database to access? With other words how to handle context in this situation? Thanks for any advice..
Hi, On Wed, Mar 5, 2008 at 9:19 AM, C W Nel <zang@zang.co.za> wrote:
I am using different Koha databases on the same server, and need to run scripts on each via Crontab.
How to tell the script what Database to access? With other words how to handle context in this situation?
You can do this by setting, for each crontab entry, the KOHA_CONF environment variable to point to the correct koha-conf.xml. Regards, Galen -- Galen Charlton Koha Application Developer LibLime galen.charlton@liblime.com p: 1-888-564-2457 x709
participants (2)
-
C W Nel -
Galen Charlton