[Koha-bugs] [Bug 1993] Task Scheduler Needs Re-write
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Mar 4 18:47:56 CET 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=1993
wajasu <matted-34813 at mypacks.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |matted-34813 at mypacks.net
--- Comment #44 from wajasu <matted-34813 at mypacks.net> ---
I got it to work by changing the command definition in tools/scheduler.pl
my $command =
"export KOHA_CONF=\"$CONFIG_NAME\"; export PERL5LIB=" . $base . "; " .
$base
. "/misc/cronjobs/runreport.pl ";
$command = $command . "--format=$format " if $format;
$command = $command . "--to='$email' " if $email;
$command = $command . $report if $report;
AND also added www-data, which was defined in /etc/apache2/envvars
(APACHE_RUN_USER) to the /etc/at.allow and no more permission problem
I had created an sql report, and did not test email, though without email the
report output was seen in the mail box for the www-data user.
(su - www-data and then 'mail' and p for print. )
I am just documenting my cursory findings.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list