On Fri, Apr 23, 2010 at 11:18 AM, Richard Forristall
<[email protected]> 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
_______________________________________________
Koha-devel mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-devel