[Koha-devel] Creating New Pages in Koha - second request

Chris Nighswonger cnighswonger at foundations.edu
Fri Apr 23 17:34:02 CEST 2010


On Fri, Apr 23, 2010 at 11:18 AM, Richard Forristall
<Richard.Forristall at goodwillaz.org> wrote:
>
> Chris,
> Thanks for the reminder - I remember you indicated this in a previous post.  How does one ensure this is running as my kohauser?

I believe you'll have to form your system call so that it su's the
script as your koha user. Something like:

my @args = ("su - kohauser -c \"/path/to/rebuild_zebra.pl -a -b -z\"");
my $results = system(@args);

Kind Regards,
Chris



More information about the Koha-devel mailing list