From 53c67d452e0487fccabc47fe22e58e389424a70f Mon Sep 17 00:00:00 2001 From: mmoel Date: Mon, 19 May 2014 08:31:12 +0200 Subject: Add --no-header to cron execution command Without --no-header on every cron sarg execution, the php script outputs the line "Content-type: text/html". This will be emailed --- config/sarg/sarg.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/sarg') diff --git a/config/sarg/sarg.inc b/config/sarg/sarg.inc index 1a4db315..2788dab9 100644 --- a/config/sarg/sarg.inc +++ b/config/sarg/sarg.inc @@ -354,7 +354,7 @@ function sync_package_sarg() { else $new_cron['item'][]=$cron; } - $cron_cmd="/usr/local/bin/php /usr/local/www/sarg.php"; + $cron_cmd="/usr/local/bin/php --no-header /usr/local/www/sarg.php"; $sarg_schedule_id=0; if (is_array($config['installedpackages']['sargschedule']['config'])) foreach ($config['installedpackages']['sargschedule']['config'] as $sarg_schedule){ -- cgit v1.2.3