[Bug 1993] Task Scheduler Needs Re-write
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=1993 wajasu <matted-34813@mypacks.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |matted-34813@mypacks.net --- Comment #44 from wajasu <matted-34813@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.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org